Building a graph diagram

The graph control enables you to display and interact with a graph that consists of a set of nodes connected by edges that represent a network of interrelated objects. The following is a summary of the diagram capabilities:

  • Supports hierarchical graphs. Since it is not feasible to draw all possible nodes on one diagram, the graph represents a subset of these as a single node. The user can then drill down to see the node or edge of interest.
  • Supports inter-edges. An inter-edge is a virtual edge between two group nodes that represents the many edges that actually run between the two groups.
  • Supports advanced layout algorithms that minimize edge crossover.
  • Supports a client/server model. The application partitions between the client and the server.
  • Supports the ability to bind compound rendering methods to nodes and edges. For example, a node may include an icon, two labels, and a circle around it.
  • Supports user definable actions on nodes and edges by double-clicking and/or right mouse click.
  • Supports scaling.
  • Supports scrolling and scaling.
  • Supports printing and output in common file formats.
  • Supports modifications to the diagram such as adding, moving, and deleting nodes and edges.

Related concepts

Components of the graph
Defining actions on nodes and edges in the XML for the graph control
Defining the graph in XML format
W3C schema for graph diagram XML
Valid values for graph elements and attributes
Referencing images in the XML for the graph control
Graph toolbar icons
Functions and displayevent definitions for actions in the graph diagram

Related tasks

Activate an action on a node or edge in a graph
Set the focus on the graph

Related references

Graph control