Hello I am trying trivial command in windows command line
*echo 'digraph { a -> b }' | dot -Tsvg > output.svg* finded here "https://graphviz.org/doc/info/command.html"
this command build a file named 'b' containing *'digraph { a - }'*
I assume that *>* character is not the good.
Is there some character set require by dot ?
thanks
This documentation bug (for Windows users) is discussed here Graphviz 12.0.0 basic output.svg test not working (#2700) · Issues · graphviz / graphviz · GitLab
You encountered a documentation bug. The "echo ..." command works for Linux (and macos?), but not for Windows! (The Windows echo command works differently than the Linux echo)
Try this:
echo graph { a -- b } | dot -Tsvg -o output.svg
1 Like