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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AISEEICONS can be set to the directory containing the bitmap file. For details on pictures<br />

in nodes, see p. 106.<br />

• importance<br />

Type: integer<br />

Default value: 0 (which means infinity)<br />

Attribute of: node<br />

<strong>Description</strong>:<br />

This is the central attribute when it comes to filtering in fish-eye views as it enables the<br />

importance of a node to be specified via an integer. Low integers signify less important<br />

nodes which are filtered out first by a filtering fish-eye view. High integer numbers signify<br />

nodes that are important, their being rarely filtered out. A value of 0 represents an infinite<br />

importance, the result being that these nodes are never filtered out. This attribute also exists<br />

for summary nodes of folded subgraphs, see importance (p. 74).<br />

• info1, info2, info3<br />

Type: string<br />

Default value: empty string for all three<br />

Attribute of: node<br />

<strong>Description</strong>:<br />

These attributes enable three additional text fields to be specified for a node. The same set<br />

of attributes exists for summary nodes (see node attribute info1, p. 75). These additional<br />

information fields can be selected interactively from the submenu of the Information menu<br />

(see p. 19).<br />

When exporting a graph to SVG (or HTML), a URL can be specified in the info3 field of a<br />

node that is visited when the user clicks on that node in the SVG (or PNG or BMP) image.<br />

The URL specification has to be in the format info3: "href:URL", meaning that if the<br />

content of an info3 field does not start with href:, it will be interpreted as a normal<br />

information field rather than as a hyperlink.<br />

In addition to a URL, the following optional hyperlink attributes can be specified:<br />

– target<br />

– onMouseOver<br />

– onMouseOut<br />

– onMouseDown<br />

– onMouseUp<br />

– onMouseMove<br />

– onClick<br />

These attributes can be specified in any order directly after the URL itself. The specifications<br />

must be separated by semicolons. Examples:<br />

info3: "href:http://www.aisee.com/svg/"<br />

info3: "href:javascript:myfunction(42,’Hello world!’)"<br />

info3: "href:http://www.aisee.com;target:_blank;onClick:foo(’bar’)"<br />

95

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

Saved successfully!

Ooh no, something went wrong!