AbsInt Logoai Logo

GDL: Subgraphs and Regions

Prev. (Node Info) Next (Nodes) Index Sitemap home

slide

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
    

slide

Summary Nodes

  • Summary node attributes can be
    defined in the subgraph specification

    graph: {
            graph: {title:"a" bordercolor:red label:"subgraph"}
           }
    // when the subgraph 'a' is folded, it will be
    // represented by a summary node with a red border
    
  • Custom summary node/edge attributes are specified by

    foldnode.attribute: value
    foldedge.attribute: value
    // these attributes can only be specified for the top-level graph
    

example

Subgraph Example

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"}
       }

example

Region Example

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}
       }

aiSee!!

Hints

  • The initial status of a subgraph is specified by

    status: folded or boxed or unfolded or clustered or wrapped
    
  • folded boxed unfolded clustered wrapped

  • A region may have multiple sources and/or targets

    source: "one" "two" "..." "n"
    target: "One" "Two" "etc" "m"
    
  • A region may unite multiple edge classes

    class: 1 28 42 14
    
  • Default values

    • foldedge.thickness: 3
      foldedge.label: "..."
      status: unfolded
      
    • The default neighbor region range is 3
      This range can be changed interactively in the View Dialog Box

  • Available foldedge/foldnode attributes

    All standard attributes are also available for summary nodes and 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 supports the following alternative notations:

    state:       // instead of status:
    white        // instead of unfolded
    sourcename:  // instead of source:
    targetname:  // instead of target:
    

top Prev. (Node Info) Next (Nodes) Sitemap home


Please send any suggestions, comments or questions to webmaster@absint.com or use our feedback page.
Contents and Webdesign © Copyright 2000 & 2001 by AbsInt Angewandte Informatik GmbH.
This page was last modified on 11th of May 2001. This page URL is http://www.absint.com/aisee/gdl/guide/grouping.htm