npm install -g @hpcc-js/wasm
dot-wasm -K neato -T xdot ./input.dot
Defaults to dot layout and svg output.
Alternatively you can run without installing:
npx -p @hpcc-js/wasm dot-wasm -K neato -T xdot ./input.dot
npm install -g @hpcc-js/wasm
dot-wasm -K neato -T xdot ./input.dot
Defaults to dot layout and svg output.
Alternatively you can run without installing:
npx -p @hpcc-js/wasm dot-wasm -K neato -T xdot ./input.dot