Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm almost there, inspired by <a href="https://mailman.research.att.com/pipermail/graphviz-interest/2001q4/000232.html" rel="nofollow noreferrer">an old response on the graphviz-interest mailinglist</a> and <a href="https://stackoverflow.com/questions/2271704/family-tree-layout-with-dot-graphviz/2272412#2272412">doug's answer</a>.</p> <p>The following code:</p> <pre><code>digraph G { edge [dir=none]; node [shape=box]; "Abraham" [shape=box, regular=1, color="blue"] ; "Mona" [shape=box, regular=1, color="pink"] ; "Clancy" [shape=box, regular=1, color="blue"] ; "Jackeline" [shape=box, regular=1, color="pink"] ; "Herb" [shape=box, regular=1, color="blue"] ; "Homer" [shape=box, regular=1, color="blue"] ; "Marge" [shape=box, regular=1, color="pink"] ; "Patty" [shape=box, regular=1, color="pink"] ; "Selma" [shape=box, regular=1, color="pink"] ; "Bart" [shape=box, regular=1, color="blue"] ; "Lisa" [shape=box, regular=1, color="pink"] ; "Maggie" [shape=box, regular=1, color="pink"] ; "Ling" [shape=box, regular=1, color="blue"] ; a1 [shape=circle,label="",height=0.01,width=0.01]; b1 [shape=circle,label="",height=0.01,width=0.01]; b2 [shape=circle,label="",height=0.01,width=0.01]; b3 [shape=circle,label="",height=0.01,width=0.01]; {rank=same; Abraham -&gt; a1 -&gt; Mona}; {rank=same; b1 -&gt; b2 -&gt; b3}; {rank=same; Herb; Homer}; a1 -&gt; b2 b1 -&gt; Herb b3 -&gt; Homer p1 [shape=circle,label="",height=0.01,width=0.01]; q1 [shape=circle,label="",height=0.01,width=0.01]; q2 [shape=circle,label="",height=0.01,width=0.01]; q3 [shape=circle,label="",height=0.01,width=0.01]; {rank=same; Homer -&gt; p1 -&gt; Marge}; {rank=same; q1 -&gt; q2 -&gt; q3}; {rank=same; Bart; Lisa; Maggie}; p1 -&gt; q2; q1 -&gt; Bart; q2 -&gt; Lisa; q3 -&gt; Maggie; x1 [shape=circle,label="",height=0.01,width=0.01]; y1 [shape=circle,label="",height=0.01,width=0.01]; y2 [shape=circle,label="",height=0.01,width=0.01]; y3 [shape=circle,label="",height=0.01,width=0.01]; {rank=same; Clancy -&gt; x1 -&gt; Jackeline}; {rank=same; y1 -&gt; y2 -&gt; y3}; {rank=same; Marge; Patty; Selma}; {rank=same; Bart; Ling} x1 -&gt; y2; y1 -&gt; Marge; y2 -&gt; Patty; y3 -&gt; Selma; Selma -&gt; Ling; } </code></pre> <p>now produces this:</p> <p><img src="https://i.imgur.com/ciFEp.png" alt="alt text"></p> <p>So, looks good except for that strange edge around Homer.If I could find a way to move Abraham, Mona and Herb to the left hand side of the picture then I would have a perfectly aligned picture.</p> <p>Any ideas on how to achieve that?</p>
    singulars
    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. VO
      singulars
      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