     
Subgraph / region status
» A subgraph is specified within a graph by
graph: { title: "subgraph title" subgraph entries }
» A region is specified by
region: { status: folded or boxed
source: "start node title"
target: "end node title"
class : edge class to be folded or boxed
range : neighbor region range
}
» The class of an edge is specified by
class: integer

Summary nodes
» Summary node attributes are defined in the subgraph specification
graph: {
graph: {title:"a" shape:triangle label:"subgraph"}
}
// when the subgraph "a" is folded,
// it will be represented by a triangle
» Global summary node/edge attribute values are specified by
foldnode.attribute: value
foldedge.attribute: value
// these can only be specified for the top-level graph

Subgraph example (see slide)
graph: {foldedge.color: darkred
node: {title:"1"} node: {title:"2"}
node: {title:"3"} node: {title:"4"}
graph: {title: "5" shape: circle textcolor: red
node.textcolor: 8 edge.color: 8
node: {title:"6"}
node: {title:"7"}
node: {title:"8"}
edge: {source:"6" target:"7"}
edge: {source:"6" target:"8"}
}
edge: {source:"1" target:"2"}
edge: {source:"1" target:"5"}
edge: {source:"2" target:"3"}
edge: {source:"2" target:"4"}
}

Region example (see slide)
graph: {foldedge.color: darkred
foldnode.textcolor: red
node: {title:"1"} node: {title:"2"}
node: {title:"3"} node: {title:"4"}
node: {title:"5"} node: {title:"6"}
node: {title:"7"} node: {title:"8"}
edge: {source:"1" target:"2"}
edge: {source:"1" target:"3"}
edge: {source:"2" target:"4"}
edge: {source:"2" target:"5"}
edge: {source:"3" target:"6" class: 1}
edge: {source:"3" target:"7" class: 1}
edge: {source:"6" target:"8" class: 2}
region: {status: folded source:"3" class: 1}
}

Hints
» The initial status of a subgraph is specified by
status: folded or boxed or unfolded or
clustered or wrapped or exclusive
» A region may have multiple sources and/or targets
source: "one" "two" "..." "n"
target: "One" "Two" "etc" "m"
» A region may unite edges of different classes
class: 1 28 42 14
» Default attribute values
foldedge.thickness: 3
foldedge.label: "..."
status: unfolded
The default neighbor region range is 3
It can be changed interactively in the View Dialog Box
» Available foldedge/foldnode attributes
All node/edge attributes are also available for summary nodes/edges.
» The colon ':' may not be separated from the keyword region:
region: { status: folded source: "3" } // this is OK
region : { status: folded source: "3" } // this won't work
» aiSee understands the following alternative notations:
state: // instead of status:
white // instead of unfolded
sourcename: // instead of source:
targetname: // instead of target:

Go to ...
|