Graph Data Sources

ilog.server.jsds.graph

This package includes the following classes which represent a server object relation as a graph with nodes and links.

  • IlsRpGraph
  • IlsRpLink
  • IlsRpNode
  • IlsGraphDataSource
  • IlsGraphDS2IlvGrapherAdapter

ilog.server.jsds.graph.IlsRpGraph

The class IlsRpGraph instantiates graph representation objects which can be used to represent server object relations as nodes and links (see IlsRpLink and IlsRpNode below). A relation between two nodes is represented by a link which connects the two nodes. Graph representation objects interface server objects with a graph data source (see IlsGraphDataSource).

ilog.server.jsds.graph.IlsRpLink

The class IlsRpLink instantiates link representation objects which define an adjacency relation between two IlsRpNode objects. Each IlsRpLink object represents an edge in the graph relation. IlsRpLink objects interface server objects with a graph data source (see IlsGraphDataSource).

ilog.server.jsds.graph.IlsRpNode

The class IlsRpNode instantiates node representation objects which represent a vertex in the graph relation. IlsRpNode objects interface server objects with a graph data source (see IlsGraphDataSource).

ilog.server.jsds.graph.IlsGraphDataSource

Objects of this class make up a bridge between an Server representation model and a JViews IlvGrapher object through a IlsGraphDS2IlvGrapherAdapter.

ilog.server.jsds.adapter.IlsGraphDS2IlvGrapherAdapter

Adapters are interfaces between JavaTM data sources and graphical objects. You can derive this class or create adapter strategies, for example, to map user-defined properties defined in the view specification file. The class IlsGraphDS2IlvGrapherAdapter provides a basic interface between a graph data source and a JViews IlvGrapher object.

Predefined adapter strategies provides functionalities to these basic adapter:

  • IlsGraphDS2IlvGrapherAcceleratorStrategy: allows you to map keyboard accelerator actions, such as zoom, rotation, scrolling, and so forth.

  • IlsGraphDS2IlvGrapherMouseStrategy: allows you to manage mouse user interaction on the associated IlvGrapher instance (for example, dereferencing a node).

  • IlsGraphDS2IlvGrapherNodeRendererStrategy: provides management of background and foreground color for graph nodes.