     
Keywords
» A graph is specified by
graph: { graph entries:
nodes, edges, subgraphs, attributes }
» A node is specified by
node: { title: "node title" node attributes }
» An edge is specified by
edge: { source: "source node title"
target: "target node title"
edge attributes }

Labels
» Text displayed within a node
» Edge label

Example (see slide)
graph: {
node: { title: "a" label: "aiSee" }
node: { title: "G"
label: "Graph\nDescription\nLanguage" }
node: { title: "AbsInt" }
edge: { source: "AbsInt" target: "a"
label: "Graph Visualization" }
edge: { source: "AbsInt" target: "G" }
}

Hints
» All node titles have to be unique.
» Node titles are case-sensitive:
node: { title: "aisee" } // is not equal to
node: { title: "aiSee" }
» Titles and labels may contain ASCII control characters:
node: { title: "hello\nworld" } // is equal to
node: { title: "hello
world" }
node: { title: "\"Hello world!\", he said" }
» C-style comments:
node: { title: "2+2=7" /*think again*/ label: "2+2=4" }
» C++-style comments:
node: { title: "Humpty-dumpty" } // sat on the wall
node: { title: "humpty-dumpty" } // did a great fall
» Word spacing does not matter:
node: { title : "ic" } // is just as good as
node:{title:"ic"}
However,
» A graph title can be specified by
graph: { title: "My Family Tree"
/* specifying a title is
mandatory for subgraphs */
}
» There is always only one top-level graph
» If edge labels are not displayed, specify
display_edge_labels: yes
» aiSee understands the following alternative notations:
sourcename: // instead of source:
targetname: // instead of target:
displayedgelabels: // instead of display_edge_labels:

» Next: Node shapes and line styles
» Prev.: Introduction
» Index
|