ISprite.as: used to present the nodes on the graph. This interface has two children
GenericSpritewhich is based on UIcomponent and
LightGenericSpritethat uses the sprite the draw the node.
IGroup.as: presents the display object of the group on the graph.This interface has two children
GenericGroupwhich is based on UIcomponent and
LightGenericGroupthat uses the sprite the draw the node.
ITable.as: presents the display object of the table used on the diagram
ILink.as: all link objects should inherit from this interface. we use only sprite to draw link
IDecorator.as: all decorator (sticks) displayed on the different items ( node or link) should inherit from
IDecorator. This interface has two children
GenericDecoratorwhich is based on UIcomponent and
LightGenericDecoratorthat uses the sprite the draw the node. Each decorator model has two implementation, the first used to display the node decorator and the second to display the link one.
IConroller: all controller (control point on links and anchors on the nodes) should implement this interface.
Diagrammer's objects inherit from the visualizer ones.
The main architecture can be summarized as following using the visualizer using the Hierachical tree layout. In the first figure we will try to describe the main interfaces and the basic inheritance between them.
Through this following schema, we show the main classes implementation on the visualizer and diagrammer.