5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
0 for pmin<br />
100 for pmax<br />
Attribute of: top-level graph, subgraphs<br />
<strong>Description</strong>:<br />
pmin sets the minimum number of iterations of the pendulum method. Like crossing reduction,<br />
this method stops when the “imbalance weight” stops decreasing. However, an increase<br />
in imbalance weight might be a local phenomenon, meaning that the imbalance might decrease<br />
much more after a few more iterations.<br />
pmax sets the maximum number of iterations of the pendulum method. Reducing this factor<br />
increases layout calculation speed.<br />
• port_sharing, inport_sharing, outport_sharing<br />
Type: yes, no<br />
Default value:<br />
no (since aiSee 2.1.89) for port-sharing,<br />
no for inport-sharing and outport-sharing<br />
Attribute of: top-level graph, subgraphs<br />
<strong>Description</strong>:<br />
no suppresses the sharing of ports by edges at nodes. inport-sharing enables the port sharing<br />
of incoming edges only, with outport-sharing enabling the port sharing of outgoing edges<br />
only.<br />
Generally speaking, if multiple edges are adjacent to the same node, and the arrow heads of<br />
all these edges have the same appearance (color, size, etc.), these edges may share a port at a<br />
node. This means that only one arrow head is drawn, and all edges meet at this arrow head.<br />
This enables many edges to be located adjacent to one node without getting confused by too<br />
many arrow heads. If no port sharing is used, each edge gets its own port.<br />
• priority_phase<br />
Type: yes, no<br />
Default value: no<br />
Attribute of: top-level graph, subgraphs<br />
<strong>Description</strong>:<br />
yes switches on the priority phase. This phase replaces the normal pendulum method with<br />
a specialized method: It forces long vertical edges to be straight, just like the straight phase<br />
(see p. 85). In fact, the straight phase is a fine-tuning of the priority phase, the priority phase<br />
being recommended for an orthogonal layout (see manhattan_edges, p. 79).<br />
• randomfactor<br />
Type: integer<br />
Default value: 70<br />
Attribute of: top-level graph<br />
<strong>Description</strong>:<br />
This attribute only applies to the forcedir layout algorithm.<br />
If randomized rounds have been specified (see randomrounds, p. 82) then a node is placed<br />
with a probability of randomfactor percent during a round. This factor should be close to<br />
100 in order to prevent the process from stopping too early.<br />
81