Change position of double headed arrows
Hi. I have a short script (see below) for a small diagraph consisting of three nodes, two as boxes (indicator1 & indicator2 ) and one as an ellipse (variable). The double headed variables for indicator 1 and indicator 2 labled with (delta1 & delta2) automatically are attached on top of the boxes of indicator1 and indicator2 but I want them on the right side of the boxes. How can I get that accomplished? I tried it with rankdir: "indicator1" -> "indicator1" [label="delta1" dir="both" rankdir="lr"]; but that didn't do the trick. Thanks a lot! version: Version 1.13 (16) digraph "measurement model" { rankdir=LR; size="8,8"; node [fontname="Verdana" fontsize=10 shape=box]; edge [fontname="Verdana" fontsize=8]; center=1; "variable" [shape=ellipse] "variable" -> "indicator1" [label="alpha1"]; "variable" -> "indicator2" [label="alpha2"]; "indicator1" -> "indicator1" [label="delta1" dir="both"]; "indicator2" -> "indicator2" [label="delta2" dir="both"]; } NULL
Recent comments
- I like the look of the nodes,
1 day 2 hours ago - If you put the fixedsize
1 day 2 hours ago - If you put the fixedsize
1 day 2 hours ago - Are there some actual examples around?
1 day 4 hours ago - There are two features
1 day 4 hours ago - There is nothing built into
1 day 4 hours ago - I was able to resolve this
2 days 7 hours ago - x11 event bindings
4 days 42 min ago - One could probable work
4 days 1 hour ago - Would it be possible to
4 days 2 hours ago

Change position of double
Use compass point ports:
"indicator1":e -> "indicator1":e [label="delta1" dir="both"];
"indicator2":e -> "indicator2":e [label="delta2" dir="both"];
The :e notation tells Graphviz to attach the edge to the east side of the node.
Emden