Comparing version 0.3.0 to 0.3.1
@@ -10,3 +10,4 @@ 'use strict'; | ||
const dot = fsm.emit.dot(desc); | ||
const svg = graphviz.layout(dot); | ||
const draw = desc.draw || 'dot'; | ||
const svg = graphviz.layout(dot, 'svg', draw); | ||
return svg; | ||
@@ -13,0 +14,0 @@ }; |
{ | ||
"name": "autodrom", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "auto verilog from comments", | ||
@@ -5,0 +5,0 @@ "author": "Aliaksei Chapyzhenka", |
@@ -5,14 +5,14 @@ [](https://www.npmjs.org/package/autodrom)[](https://github.com/drom/autodrom/actions/workflows/linux.yml)[](https://github.com/drom/autodrom/actions/workflows/macos.yml)[](https://github.com/drom/autodrom/actions/workflows/windows.yml) | ||
## Install | ||
## CLI use | ||
Process multiple files, folders, globs | ||
``` | ||
npm i autodrom | ||
npx autodrom ...<FILE, DIR, GLOB> | ||
``` | ||
## CLI use | ||
Create SVG diagrams | ||
Process multiple files, folders, globs | ||
``` | ||
autodrom <FILE> <DIR> <GLOB> | ||
npx autodrom --svg ...<FILE, DIR, GLOB> | ||
``` | ||
@@ -23,3 +23,3 @@ | ||
``` | ||
autodrom --watch <FILE> <DIR> <GLOB> | ||
npx autodrom --watch ...<FILE, DIR, GLOB> | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8003
183
2