1 / 3

Diagrammer

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).

tessa
Download Presentation

Diagrammer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 GraphML serializer/parser DiagramElement An element of a diagram DiagramNode DiagramEdge A node of a diagram An edge of a diagram

More Related