💻 Software
How do I prevent some nodes and edges from being drawn?
Fresh5 days ago
Mar 15, 202610589 viewsConfidence Score0%
0%
Problem
I have a very simple graph: However, the nodes must be drawn in a specific order, from top to bottom. (The red arrows would be red because they defy this specific order.) One way to do so is: However, this displays those extra nodes on the graph, and I'd rather not have that. How can I define nodes…
Error Output
digraph G {
"for" -> "initial assignment"
"initial assignment" -> "condition"
"condition" -> "code" [color=red]
"condition" -> "end" [color=r…Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I prevent some nodes and edges from being drawn?
Low Risk
Stephen North, author of Graphviz, suggests using : output This doesn't fully solve the problem as space is still allocated for those bits and pieces, but I have to guess it's as good as it gets.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix