Commit 72670d64 by Tom Laudeman

adding two types of constellation views

parent c35af152
digraph States {
# dot -Tsvg constellation_linked.gv -O
# Will create constellation_linked.gv.svg
label = "\n\nIdentity Constellation\nTwo linked identities";
labelloc="t";
fontsize=20;
inputscale=0;
# sep=1;
# splines=true;
overlap=false;
node [pos="4,5!"]; "root1";
node [pos="1,3!"]; ne1;
node [pos="3,3!"]; an1;
node [pos="5,3!"]; ed1;
node [pos="7,3!"]; cr1;
node [pos="10,3!"]; occ1;
node [pos="9,4!"]; rr1;
node [pos="3.3,1.5!"]; "root2";
node [pos="1,2!"]; ne2;
node [pos="3,0!"]; an2;
node [pos="1.5,1!"]; an3;
node [pos="5,0!"]; ed2;
node [pos="7.4,2!"]; cr2;
node [pos="9,0!"]; occ2;
node [pos="8,-1!"]; occ22;
node [pos="10,1.5!"]; rr2;
"ne1","ne2" [label="alt name"];
"an1", "an2", "an3" [label="alt name"];
"ed1", "ed2" [label="exist dates"];
"occ1", "occ2", "occ22" [label="occupation/function"];
"cr1", "cr2" [label="cpf relation"];
"rr1", "rr2" [label="resource relation"];
"root1" [label="identity-A"];
"root2" [label="identity-B"];
root1 -> ne1;
root1 -> an1;
root1 -> ed1;
root1 -> occ1;
root1 -> cr1;
root1-> rr1;
cr1 -> cr2 ;
cr2 -> cr1 ;
root2-> rr2;
cr2 -> root2 [dir="back"];
root2 -> occ2;
root2 -> occ22;
root2 -> ed2;
root2 -> an2;
root2 -> an3;
root2 -> ne2;
}
digraph States {
// neato -n2 -Tsvg identity_constellation.gv -O
//
// Absolute positioning appears to only work with neato, and only if all nodes are pinned,
// but not always. neato -n2 units are points, and inputscale appears to be ignored
// sep=0.2 splines=polyline overlap=false allows the pos values to be followed,
// while getting the lines to go around nodes.
label = "\n\nIdentity Constellation";
labelloc="t";
fontsize=20;
// inputscale=75;
sep=0.08;
splines=polyline;
overlap=false;
"an1" [label="alt name"];
"an2", "an3" [label="alt name"];
"ed1" [label="exist dates"];
"occ1", "occ2" [label="occupation\nor function"];
"cr1", "cr2" [label="cpf relation"];
"rr1" [label="resource relation"];
root1 [pos="350,400!" label="identity root"];
place [pos="200,450!" label="related place"];
an1 [pos="100,320!" ];
an2 [pos="100,250!" ];
an3 [pos="100,240!" ];
ed1 [pos="200,200!"];
biog [pos="160,400!" label="biog hist"] ;
cr1 [pos="500,300!"];
cr2 [pos="600,200!"];
et [pos="300,100!" label="entity type"];
occ1 [pos="350,250!"];
occ2 [pos="450,200!"];
rr1 [pos="550,350!"];
src [pos="550,400!" label="source"];
usedate [pos="105,315]", label="use dates"];
an1 -> usedate;
root1 -> et;
root1 -> src;
root1 -> place;
root1 -> an1;
root1 -> an2;
root1 -> an3;
root1 -> ed1;
root1 -> occ1;
root1 -> occ2;
root1 -> cr1;
root1-> rr1;
root1 -> biog;
cr1 -> cr2 ;
cr2 -> cr1 ;
}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.34.0 (20140101.1016)
-->
<!-- Title: States Pages: 1 -->
<svg width="637pt" height="472pt"
viewBox="0.00 0.00 637.14 472.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 468)">
<title>States</title>
<polygon fill="white" stroke="white" points="-4,4 -4,-468 633.14,-468 633.14,4 -4,4"/>
<text text-anchor="middle" x="314.57" y="-396" font-family="Times,serif" font-size="20.00">Identity Constellation</text>
<!-- an1 -->
<g id="node1" class="node"><title>an1</title>
<ellipse fill="none" stroke="black" cx="41.5963" cy="-269.413" rx="41.6928" ry="18"/>
<text text-anchor="middle" x="41.5963" y="-265.713" font-family="Times,serif" font-size="14.00">alt name</text>
</g>
<!-- usedate -->
<g id="node15" class="node"><title>usedate</title>
<ellipse fill="none" stroke="black" cx="120.194" cy="-225.48" rx="43.5923" ry="18"/>
<text text-anchor="middle" x="120.194" y="-221.78" font-family="Times,serif" font-size="14.00">use dates</text>
</g>
<!-- an1&#45;&gt;usedate -->
<g id="edge1" class="edge"><title>an1&#45;&gt;usedate</title>
<path fill="none" stroke="black" d="M67.3322,-255.027C72.9733,-251.874 79.0394,-248.484 84.9796,-245.163"/>
<polygon fill="black" stroke="black" points="87.1102,-247.982 94.1315,-240.048 83.6949,-241.872 87.1102,-247.982"/>
</g>
<!-- an2 -->
<g id="node2" class="node"><title>an2</title>
<ellipse fill="none" stroke="black" cx="70.388" cy="-182.051" rx="41.6928" ry="18"/>
<text text-anchor="middle" x="70.388" y="-178.351" font-family="Times,serif" font-size="14.00">alt name</text>
</g>
<!-- an3 -->
<g id="node3" class="node"><title>an3</title>
<ellipse fill="none" stroke="black" cx="52.8941" cy="-82.5315" rx="41.6928" ry="18"/>
<text text-anchor="middle" x="52.8941" y="-78.8315" font-family="Times,serif" font-size="14.00">alt name</text>
</g>
<!-- ed1 -->
<g id="node4" class="node"><title>ed1</title>
<ellipse fill="none" stroke="black" cx="176.494" cy="-118" rx="48.9926" ry="18"/>
<text text-anchor="middle" x="176.494" y="-114.3" font-family="Times,serif" font-size="14.00">exist dates</text>
</g>
<!-- occ1 -->
<g id="node5" class="node"><title>occ1</title>
<ellipse fill="none" stroke="black" cx="326.494" cy="-168" rx="55.3091" ry="26.7407"/>
<text text-anchor="middle" x="326.494" y="-171.8" font-family="Times,serif" font-size="14.00">occupation</text>
<text text-anchor="middle" x="326.494" y="-156.8" font-family="Times,serif" font-size="14.00">or function</text>
</g>
<!-- occ2 -->
<g id="node6" class="node"><title>occ2</title>
<ellipse fill="none" stroke="black" cx="426.494" cy="-118" rx="55.3091" ry="26.7407"/>
<text text-anchor="middle" x="426.494" y="-121.8" font-family="Times,serif" font-size="14.00">occupation</text>
<text text-anchor="middle" x="426.494" y="-106.8" font-family="Times,serif" font-size="14.00">or function</text>
</g>
<!-- cr1 -->
<g id="node7" class="node"><title>cr1</title>
<ellipse fill="none" stroke="black" cx="476.494" cy="-218" rx="52.7911" ry="18"/>
<text text-anchor="middle" x="476.494" y="-214.3" font-family="Times,serif" font-size="14.00">cpf relation</text>
</g>
<!-- cr2 -->
<g id="node8" class="node"><title>cr2</title>
<ellipse fill="none" stroke="black" cx="576.494" cy="-118" rx="52.7911" ry="18"/>
<text text-anchor="middle" x="576.494" y="-114.3" font-family="Times,serif" font-size="14.00">cpf relation</text>
</g>
<!-- cr1&#45;&gt;cr2 -->
<g id="edge14" class="edge"><title>cr1&#45;&gt;cr2</title>
<path fill="none" stroke="black" d="M493.913,-200.581C509.973,-184.521 533.976,-160.518 551.972,-142.523"/>
<polygon fill="black" stroke="black" points="554.679,-144.765 559.275,-135.219 549.729,-139.815 554.679,-144.765"/>
</g>
<!-- cr2&#45;&gt;cr1 -->
<g id="edge15" class="edge"><title>cr2&#45;&gt;cr1</title>
<path fill="none" stroke="black" d="M559.076,-135.419C543.016,-151.479 519.012,-175.482 501.017,-193.477"/>
<polygon fill="black" stroke="black" points="498.31,-191.235 493.713,-200.781 503.259,-196.185 498.31,-191.235"/>
</g>
<!-- rr1 -->
<g id="node9" class="node"><title>rr1</title>
<ellipse fill="none" stroke="black" cx="526.494" cy="-268" rx="71.4873" ry="18"/>
<text text-anchor="middle" x="526.494" y="-264.3" font-family="Times,serif" font-size="14.00">resource relation</text>
</g>
<!-- root1 -->
<g id="node10" class="node"><title>root1</title>
<ellipse fill="none" stroke="black" cx="326.494" cy="-318" rx="55.4913" ry="18"/>
<text text-anchor="middle" x="326.494" y="-314.3" font-family="Times,serif" font-size="14.00">identity root</text>
</g>
<!-- root1&#45;&gt;an1 -->
<g id="edge5" class="edge"><title>root1&#45;&gt;an1</title>
<path fill="none" stroke="black" d="M277.519,-309.648C225.166,-300.719 142.657,-286.648 90.379,-277.732"/>
<polygon fill="black" stroke="black" points="90.7905,-274.252 80.3444,-276.021 89.6137,-281.152 90.7905,-274.252"/>
</g>
<!-- root1&#45;&gt;an2 -->
<g id="edge6" class="edge"><title>root1&#45;&gt;an2</title>
<path fill="none" stroke="black" d="M300.146,-301.895C251.614,-272.23 153.009,-211.959 153.009,-211.959 153.009,-211.959 132.706,-204.61 112.23,-197.197"/>
<polygon fill="black" stroke="black" points="113.162,-193.813 102.568,-193.7 110.78,-200.395 113.162,-193.813"/>
</g>
<!-- root1&#45;&gt;an3 -->
<g id="edge7" class="edge"><title>root1&#45;&gt;an3</title>
<path fill="none" stroke="black" d="M306.818,-301.066C258.568,-259.541 134.333,-152.62 79.5364,-105.461"/>
<polygon fill="black" stroke="black" points="81.5287,-102.558 71.6661,-98.6872 76.9625,-107.863 81.5287,-102.558"/>
</g>
<!-- root1&#45;&gt;ed1 -->
<g id="edge8" class="edge"><title>root1&#45;&gt;ed1</title>
<path fill="none" stroke="black" d="M313.183,-300.251C286.541,-264.729 226.578,-184.778 195.689,-143.593"/>
<polygon fill="black" stroke="black" points="198.362,-141.323 189.562,-135.423 192.762,-145.523 198.362,-141.323"/>
</g>
<!-- root1&#45;&gt;occ1 -->
<g id="edge9" class="edge"><title>root1&#45;&gt;occ1</title>
<path fill="none" stroke="black" d="M326.494,-299.906C326.494,-276.556 326.494,-235.353 326.494,-205.194"/>
<polygon fill="black" stroke="black" points="329.994,-205.034 326.494,-195.034 322.994,-205.034 329.994,-205.034"/>
</g>
<!-- root1&#45;&gt;occ2 -->
<g id="edge10" class="edge"><title>root1&#45;&gt;occ2</title>
<path fill="none" stroke="black" d="M335.545,-299.899C352.073,-266.843 387.408,-196.172 408.844,-153.301"/>
<polygon fill="black" stroke="black" points="411.983,-154.848 413.325,-144.338 405.722,-151.718 411.983,-154.848"/>
</g>
<!-- root1&#45;&gt;cr1 -->
<g id="edge11" class="edge"><title>root1&#45;&gt;cr1</title>
<path fill="none" stroke="black" d="M350.928,-301.711C376.098,-284.931 415.489,-258.67 443.433,-240.041"/>
<polygon fill="black" stroke="black" points="445.692,-242.742 452.071,-234.282 441.809,-236.917 445.692,-242.742"/>
</g>
<!-- root1&#45;&gt;rr1 -->
<g id="edge12" class="edge"><title>root1&#45;&gt;rr1</title>
<path fill="none" stroke="black" d="M370.385,-307.027C398.4,-300.024 435.101,-290.848 465.878,-283.154"/>
<polygon fill="black" stroke="black" points="466.791,-286.534 475.644,-280.713 465.094,-279.743 466.791,-286.534"/>
</g>
<!-- place -->
<g id="node11" class="node"><title>place</title>
<ellipse fill="none" stroke="black" cx="176.494" cy="-368" rx="57.3905" ry="18"/>
<text text-anchor="middle" x="176.494" y="-364.3" font-family="Times,serif" font-size="14.00">related place</text>
</g>
<!-- root1&#45;&gt;place -->
<g id="edge4" class="edge"><title>root1&#45;&gt;place</title>
<path fill="none" stroke="black" d="M287.866,-330.876C268.843,-337.217 245.702,-344.931 225.453,-351.681"/>
<polygon fill="black" stroke="black" points="224.155,-348.424 215.775,-354.906 226.369,-355.065 224.155,-348.424"/>
</g>
<!-- biog -->
<g id="node12" class="node"><title>biog</title>
<ellipse fill="none" stroke="black" cx="136.494" cy="-318" rx="42.4939" ry="18"/>
<text text-anchor="middle" x="136.494" y="-314.3" font-family="Times,serif" font-size="14.00">biog hist</text>
</g>
<!-- root1&#45;&gt;biog -->
<g id="edge13" class="edge"><title>root1&#45;&gt;biog</title>
<path fill="none" stroke="black" d="M271.028,-318C245.227,-318 214.692,-318 189.24,-318"/>
<polygon fill="black" stroke="black" points="189.034,-314.5 179.034,-318 189.034,-321.5 189.034,-314.5"/>
</g>
<!-- et -->
<g id="node13" class="node"><title>et</title>
<ellipse fill="none" stroke="black" cx="276.494" cy="-18" rx="49.2915" ry="18"/>
<text text-anchor="middle" x="276.494" y="-14.3" font-family="Times,serif" font-size="14.00">entity type</text>
</g>
<!-- root1&#45;&gt;et -->
<g id="edge2" class="edge"><title>root1&#45;&gt;et</title>
<path fill="none" stroke="black" d="M319.416,-299.896C303.808,-259.976 267.81,-167.909 267.81,-167.909 267.81,-167.909 272.337,-89.7605 274.854,-46.3123"/>
<polygon fill="black" stroke="black" points="278.363,-46.2682 275.447,-36.0825 271.374,-45.8633 278.363,-46.2682"/>
</g>
<!-- src -->
<g id="node14" class="node"><title>src</title>
<ellipse fill="none" stroke="black" cx="526.494" cy="-318" rx="34.394" ry="18"/>
<text text-anchor="middle" x="526.494" y="-314.3" font-family="Times,serif" font-size="14.00">source</text>
</g>
<!-- root1&#45;&gt;src -->
<g id="edge3" class="edge"><title>root1&#45;&gt;src</title>
<path fill="none" stroke="black" d="M381.94,-318C413.48,-318 452.454,-318 481.982,-318"/>
<polygon fill="black" stroke="black" points="482.005,-321.5 492.005,-318 482.005,-314.5 482.005,-321.5"/>
</g>
</g>
</svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment