<entity />Attributes of an entity must be described within its markup delimiters.
![]() |
<info title="Example" date="02/06/2010" /> <node id="n0" shape="circle" text="entry" text_style="bold" fill_color="#a9c3c3" /> <node id="n1" text="exit" text_color="red" stroke_style="dots" /> <edge id="e0" src_port="n0" src_style="open_dot" dest_port="n1" stroke_width="2" /> <group id="g0" contents="[n0, n1]" shape="rectangle" /> |
Name | Description | Type | Example | Mandatory | Default |
title | Title of the graph | string | graph00 | yes | n/a |
comments | Short description of the graph | string | bla bla bla | no | empty |
date | Date of creation or last modification | string | 27/11/2010 | no | empty |
revision | Revision number | string | 1.0 | no | empty |
Name | Description | Type | Example | Mandatory | Default |
id | ID of the node | string | node00 | yes | n/a |
shape | Shape of the node | node shape | rectangle | no | ellipse |
tags | Tags of the node | list of strings | [mammal, cat] | no | [ ] |
Name | Description | Type | Example | Mandatory | Default |
id | ID of the edge | string | edge00 | yes | n/a |
src_port | Name of the source node's port the edge connects to | port name | node01/input | yes | n/a |
dest_port | Name of the destination node's port the edge connects to | port name | node00/output | yes | n/a |
src_style | Style of the connection to the source node | connection style | closed_dot | no | line |
dest_style | Style of the connection to the destination node | connection style | dot | no | arrow |
src_text | Label of the source's port | string | data Y out | no | empty |
dest_text | Label of the destination's port | string | data X in | no | empty |
Name | Description | Type | Example | Mandatory | Default |
id | ID of the group | string | grp00 | yes | n/a |
contents | IDs of the edges and nodes of the group | List of IDs | [node00, grp01, node01] | yes | n/a |
shape | Shape of the group | group shape | ellipse | no | rectangle |
expanded | State of the group | boolean | false | no | true |
Name | Description | Type | Example | Default |
fill_color | Color used for filling | string | red or #ff0000 | white |
fill_style | Style of the filling | filling style | solid | solid |
stroke_color | Color used for stroking | string | green or #00ff00 | black |
stroke_style | Style of the stroking | stroking style | dashes | solid |
stroke_width | Width of the stroking | integer | 3 | 1 |
text | Label content | string | bla bla bla | empty |
text_color | Font color used for the label | string | blue or #0000ff | black |
text_style | Font style used for the label | label style ID | bold | normal |
text_size | Font size used for the label | integer | 8 | 10 |