How to create SYNTAX diagram with GraphViz?
I'm looking for a way, to replace ASCII-drawn SYNTAX diagram by dot-diagram. ASCII syntax diagram look like:
-command-+---------------------+-+---------------+-+- parameter4 -+-->< '- -paramater1-+-opt1-+ '- -parameter3 -' '- alt.parm4 --' I '-opt2-' '- -parameter2--------'
To create this diagram, especially when having commands with several possible variations, lot of time is needed, and when reformatting text, the diagram might get out of shape. The diagram above is a good example; while looking well in edit-dialog, the saved version is already "destroyed". Have a look at the image attached to see, how it should look.
Edited by U.Siegel