Presentation is loading. Please wait.

Presentation is loading. Please wait.

Diagrammer Takes a GraphML file and displays a diagram from it The following are the meaningful concepts for the diagrammer: – Graph (the graph being displayed)

Similar presentations


Presentation on theme: "Diagrammer Takes a GraphML file and displays a diagram from it The following are the meaningful concepts for the diagrammer: – Graph (the graph being displayed)"— Presentation transcript:

1 Diagrammer Takes a GraphML file and displays a diagram from it The following are the meaningful concepts for the diagrammer: – Graph (the graph being displayed) – Node (a shape on the diagram – currently a GlideWindow shown as a rectangle) – Edge (a line between a source and target node)

2 Diagrammer - client side classes GwtDiagram Represents the graph/diagram GwtDiagramNode Represents a node (extends GlideWindow) GwtDiagramEdge Represents an edge between two nodes GraphML Serialize and deserialize GraphML xml format (the graphml ‘key’ support is optional and pretty much ignored right now) GwtDiagramSelected Utility class that makes it easy to determine what is currently selected Gwt*Layout Diagram layouts (GwtDiagramLayout is the base class and layouts are built as extended classes)

3 Diagrammer – server side AJAX Processor used to ‘get’ the graphML representation of a graph/diagram – See BSMProcessor.java and WorkflowDiagramProcessor.java for examples Diagram.java used to serialize/parse graphML xml format expected by client-side diagrammer Diagram DiagramElement DiagramNodeDiagramEdge GraphML serializer/parser An element of a diagram A node of a diagramAn edge of a diagram


Download ppt "Diagrammer Takes a GraphML file and displays a diagram from it The following are the meaningful concepts for the diagrammer: – Graph (the graph being displayed)"

Similar presentations


Ads by Google