-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graphviz with asciidoctor #32
Comments
@GSebastian-Adil Thanks for this question! This project will automatically quote and escape any identifiers as needed. This means that simple integers/floats will be exported without quotes in the DOT output, whereas all other string values will automatically be quoted. Note that there's no semantic difference between both variants, it's merely a matter of making it "more readable" (https://graphviz.gitlab.io/_pages/doc/info/lang.html). I hope this helps! |
This file Example_Diagram.txt shows exactly my problem:
And you will that the second diagram don't work just because I changed the (ID=G) to (ID="Reflux Gastro Oesophagien") a double quotted string. Thanks |
I'm not sure I follow the exact problem you're seeing, so here's my best guess: If you want to assign the root graph ID or name, this is supported as of #28 like this: $graph = new Fhaculty\Graph\Graph();
$graph->setAttribute('graphviz.name', 'G');
$graph->createVertex('first'); Note that #28 will only be released as part of the upcoming v0.3.0, so you may have to use the current I hope this helps 👍 |
But did you try my example. my example has two diagrams: [graphviz] |
The way I understand this problem it looks like you're asking for help in the wrong project. This project deals with using GraphViz to render graphs created with GraPHP. Both your example graphs look good to me, so I can only assume there's some problem in one of the other programs you're using. Perhaps use StackOverflow or reach out to asciidoctor support channels for help? I hope this helps 👍 |
I use graphviz with asciidoctor, but I can't set double quoted string as ID.
Thanks
The text was updated successfully, but these errors were encountered: