02.10.2012 Views

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

target: < title of target node ><br />

< list of edge attributes ><br />

Left Bent Near Edge Format: Same as bent near edge, only that the horizontal part of the edge<br />

leaves the source node on the left.<br />

leftbentnearedge: {<br />

source: < title of source node ><br />

target: < title of target node ><br />

< list of edge attributes ><br />

}<br />

Right Bent Near Edge Format: Same as bent near edge, only that the horizontal part of the<br />

edge leaves the source node on the right.<br />

rightbentnearedge: {<br />

source: < title of source node ><br />

target: < title of target node ><br />

< list of edge attributes ><br />

}<br />

5.4 Attribute Format<br />

Attributes are specified as follows:<br />

< attribute keyword > : < attribute value ><br />

All attributes are optional except for the title attribute of nodes and the source and target<br />

attribute of edges. The order of attributes is irrelevant.<br />

The attribute value depends on the attribute and is one of the following:<br />

• String, e. g. title: "My family tree"<br />

• Integer, e. g. width: 700<br />

• Floating point number, e. g. scaling: 1.2<br />

• Keyword, e. g. shape: rhomb<br />

• Combination of the above, e.g. fontname: "helvB10"<br />

• File name, e.g. iconfile: "myicons/butterfly.ppm"<br />

5.4.1 Default Node and Edge Attributes<br />

It is possible to specify default values for all node or edge attributes in a top-level graph or subgraph.<br />

The default attributes are specified as follows:<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!