Note that there are some explanatory texts on larger screens.

plurals
  1. POGraphviz Draw graph nodes using BFS order
    primarykey
    data
    text
    <p>I've a graph file (.dot) with nodes that has <em>depth</em> and <em>size</em> "properties". I want to use graphviz to draw this graph considering "depth" as the depth of a Breadth First Search and the size property as a relative size of the node.</p> <p>I've tried using twopi and setting all nodes that have the same depth on the same rank, but with no success. Any suggestion on how I can accomplish this?</p> <p>Sample graph:</p> <pre><code>strict digraph { root = 0; ranksep = 5; {rank=same; 0 14754221888142813049 } {rank=same; 17110173155996056797 8860119836345733269 12488214955576990298 5164430016200693425 6534280015544966791 16035081712171710670 7728255721346380016 3065692608114503807 15537038826989012875 15464545769657918305 7964210557574239786 17237485240931079100 9667703542183627069 9063621412962345275 4956992700610885217 703599774521196210 } 0 [label="A"]; 14754221888142813049 [label="B"]; 17110173155996056797 [label="C"]; 8860119836345733269 [label="D"]; 12488214955576990298 [label="E"]; 5164430016200693425 [label="F"]; 6534280015544966791 [label="G"]; 16035081712171710670 [label="H"]; 7728255721346380016 [label="I"]; 3065692608114503807 [label="J"]; 15537038826989012875 [label="K"]; 15464545769657918305 [label="L"]; 7964210557574239786 [label="M"]; 17237485240931079100 [label="N"]; 9667703542183627069 [label="O"]; 9063621412962345275 [label="P"]; 4956992700610885217 [label="Q"]; 703599774521196210 [label="R"]; 0 -&gt; 14754221888142813049 0 -&gt; 12488214955576990298 0 -&gt; 5164430016200693425 [weight=0, constraint=false]; 0 -&gt; 15537038826989012875 0 -&gt; 7964210557574239786 0 -&gt; 9667703542183627069 0 -&gt; 17237485240931079100 5164430016200693425 -&gt; 8860119836345733269 [weight=0, constraint=false]; 8860119836345733269 -&gt; 4956992700610885217 8860119836345733269 -&gt; 9063621412962345275 8860119836345733269 -&gt; 703599774521196210 8860119836345733269 -&gt; 17110173155996056797 8860119836345733269 -&gt; 6534280015544966791 8860119836345733269 -&gt; 16035081712171710670 8860119836345733269 -&gt; 7728255721346380016 8860119836345733269 -&gt; 3065692608114503807 8860119836345733269 -&gt; 15464545769657918305 } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload