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.

egion_attribute : “source” “:” string_list<br />

| “target” “:” string_list<br />

| “state” “:” enum_status<br />

| “class” “:” integer_list<br />

| “range” “:” integer_value<br />

node_attribute_name : any attribute listed in section 5.8<br />

edge_attribute_name : any attribute listed in section 5.9<br />

attribute_value : integer_value<br />

| float_value<br />

| string_value<br />

| enum_value<br />

integer_list : (integer_value) ∗<br />

integer_value : any integer constant in C style<br />

float_value : any float constant in C style<br />

string_list : (string_value) ∗<br />

string_value : “"” (character) ∗ “"”<br />

enum_value : any possible key word value for a graph, node or edge attribute<br />

enum_status : any possible key word value for the graph attribute state (see p. 85)<br />

character : any printable ASCII character<br />

Note that graph:, node: and edge:, etc. are keywords. Therefore, no whitespace 4 character<br />

is allowed before these colons.<br />

Integers are sequences of digits. Floating point numbers consist of a sequence of digits followed<br />

by a dot ‘.’, followed by a sequence of digits. C style comments (/* ... */) and C++ style<br />

comments (//...) are allowed.<br />

4 A whitespace is a blank, tab, linefeed or newline character<br />

113

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

Saved successfully!

Ooh no, something went wrong!