The Graph Description Language (GDL) of the VCG tool and its successor aiSee describes graphs in terms of nodes, edges, subgraphs and their attributes. The GDL syntax supports special kinds of edges (e.g., nearedge) that control the graph layout. Attributes are key-value pairs. Default attributes and redefinition of default attributes for edges, nodes, and subgraphs are supported as well. Nodes are identified with an obligatory title attribute. Edges must have source and target attributes that refer to the nodes' titles. GDL has a very rich set of predefined attributes. The core of GDL is compatible to GRL, the specification language of the Edge graph editor.

The following gives a code example that contains two nodes (called 'a' and 'b') that are connected with an edge. The edge is colored red.

 graph: {
  node: { title:  "a" }
  node: { title:  "b" }
  edge: { source: "a" target: "b" color: red }
        }

Resources:

-- TWikiGuest - 10 Oct 2001

Revision: r1.2 - 10 Oct 2001 - 15:24 - TWikiGuest
Transform > GraphDescriptionLanguage
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback