In the following chapters you will be introduced to the core components of the Tensegrity Graph Framework. Here we provide you with a general description of the basic concepts found within the framework domain.
A graph visualization typically consists of a model that maintains the logical structure of a graph as well as a view that defines the visual representation of that graph model. The Tensegrity Graph Framework implements the MVC pattern by separating these two responsibilities into separate components. This approach allows you to easily maintain different views for identical models without having to maintain multiple instances of those models.
The Tensgrity Graph Framework supports complex visual representations of nodes and edges.
Composite objects holding Primitive lines, rectangles and ellipses
allow you to construct complex visualizations for any type of object. Composite objects
are typically used to visualize graph nodes and edges.
An Element is a named repository object that is defined
in an XML file and aggregates a Composite, formatting Style and optional
Rule. Style objects are used to define line, fill and font formatting specifications
that can be reused while Rule objects define the interaction constraints that affect users
when constructing visual graphs.
Once a Graph, VisualGraphView and a Composite have been defined, layout algorithms are
available that help you arrange visual items in predefined ways. There are several
layout algorithms available which can be customized using parameters.
Often it is necessary to attach data to nodes and edges in order to provide and manage custom information. This can be achieved by defining and applying user-defined typed attributes which can be value-constrained.
Below is a short overview of this manual part's chapters.
Chapter 1 - Graph Basics
This chapter explains the concepts and construction techniques of
Graph model objects, nodes, edges and subgraphs. VisualGraphView (view) concepts,
including generic visual representations for nodes and edges, is also
explained. Finally, we have a look at graph controllers.
Chapter 2 - Composites
This chapter introduces the Primitive interface, which is the basis
for creating complex Composite shapes. A short overview on how coordinate systems
and scales are handled within the Tensegrity Graph Framework is also provided that define how
Composite objects are placed within the view and nested inside a
CompositeGroup.
Chapter 3 - Elements
This chapter provides information on how you can manipulate XML definition files
to create Repository Elements. Styles and formatting
options for Composite objects are explained as well as how they may be applied.
Finally, Element Rules are discussed.
Chapter 4 - Layout
The different layout algorithms and their options are explained in this chapter. You will learn which layout algorithms are available to you, which results they provide and how their parameters influence the arrangement of visual nodes and edges.
Chapter 5 - Attributes
To manage custom data within your Graph application, you may attach
Attribute objects to your model objects and even group them inside
attribute sets. Value assignments may be restricted and validated
by assigning a Constraint object to each Attribute as well.
Table of Contents
© 2004, 2005 Tensegrity Software GmbH