31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

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.

of GraphWin) are<br />

0 (central pos)<br />

1 (northwest pos)<br />

2 (north pos)<br />

3 (northeast pos)<br />

4 (east pos)<br />

5 (southeast pos)<br />

6 (south pos)<br />

7 (southwest pos)<br />

8 (west pos).<br />

user label<br />

an attribute of type string defining the user label of the node.<br />

We close this section with an example of a node attribute line that describes a circle node<br />

at position (189, 260) with border color black, border width 0.5, horizontal and vertical<br />

radius 12, interior color ivory, label type index label, label position east pos, and an<br />

empty user label.<br />

# x y shape b-clr b-width radius1 radius2 clr l-type l-clr l-pos l-str<br />

189.0 260.0 0 1 0.5 12.0 12.0 16 3 -1 4<br />

Edge Attributes:<br />

<strong>The</strong> edge attribute section contains for each edge of the graph a line consisting of the<br />

following attributes (separated by blanks). More precisely, the i-th line in this section<br />

defines the attributes of the i-th edge of the graph (see section 11.27).<br />

width<br />

an attribute of type double defining the width of the edge.<br />

color<br />

an attribute of type color defining the color of the edge.<br />

shape<br />

an attribute of type int defining the shape of the edge.<br />

gw edge shape of GraphWin) are<br />

0 (poly edge)<br />

1 (circle edge)<br />

2 (bezier edge)<br />

3 (spline edge).<br />

Possible values (see<br />

style<br />

an attribute of type int defining the line style of the edge. Possible values (see the<br />

<strong>LEDA</strong> line style type) are<br />

o (solid)<br />

1 (dashed)<br />

2 (dotted)<br />

3 (dashed dotted).

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

Saved successfully!

Ooh no, something went wrong!