Click or drag to resize

GraphViewerClient Class

Class communicating with yComp or MSAGL, over a simple live graph viewer protocol, some higher-level shared functionality regarding graph presentation state handling is implemented here.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.graphViewerAndSequenceDebuggerGraphViewerBaseClient
    de.unika.ipd.grGen.graphViewerAndSequenceDebuggerGraphViewerClient

Namespace:  de.unika.ipd.grGen.graphViewerAndSequenceDebugger
Assembly:  graphViewerAndSequenceDebugger (in graphViewerAndSequenceDebugger.dll) Version: GrGen.NET 8.1
Syntax
C#
public class GraphViewerClient : GraphViewerBaseClient

The GraphViewerClient type exposes the following members.

Constructors
  NameDescription
Public methodGraphViewerClient
Creates a new GraphViewerClient instance. Internally, it creates a YCompClient or a MSAGLClient, depending on the graph viewer type that is requested, see the base constructor for more on this.
Top
Properties
  NameDescription
Public propertyCommandAvailable
Public propertyConnectionLost
Public propertyEdgeRealizerOverride
If non-null, overrides the type dependent edge realizer (setter used from debugger for added edges, other realizers are given directly at methods called by debugger)
Public propertyGraph
Public propertyNodeRealizerOverride
If non-null, overrides the type dependent node realizer (setter used from debugger for added nodes, other realizers are given directly at methods called by debugger)
Top
Methods
  NameDescription
Public methodAddEdge(IEdge)
Public methodAddEdge(String, String, INode, INode)
Adding of helper edge used in debugging, for visualization of map content
Public methodAddEdgeEvenIfGraphExcluded
Public methodAddNeighboursAndParentsOfNeededGraphElements
Public methodAddNode
Public methodAddNodeEvenIfGraphExcluded
Public methodAnnotateElement
Annotates the given element with the given string in double angle brackets
Public methodChangeEdge
Sets the edge realizer of the given edge. If realizer is null, the realizer for the type of the edge is used.
Public methodChangeEdgeAttribute
Public methodChangeNode
Sets the node realizer of the given node. If realizer is null, the realizer for the type of the node is used.
Public methodChangeNodeAttribute
Public methodClearGraph
Public methodClose (Overrides GraphViewerBaseClientClose.)
Public methodDeleteEdge(String)
Public methodDeleteEdge(IEdge)
Public methodDeleteNode(String)
Public methodDeleteNode(INode)
Public methodForceLayout
Forces yComp/MSAGL to relayout the graph.
Public methodGetBasicClient (Inherited from GraphViewerBaseClient.)
Public methodGetLayoutOptions
Retrieves the available options of the current layouter and the current values.
Public methodReadCommand
Public methodRetypingElement
Public methodSetLayout
Sets the current layouter of the graph viewer.
Public methodSetLayoutOption
Sets a layout option of the current layouter of yComp or MSAGL.
Public methodSync
Sends a "sync" request and waits for a "sync" answer
Public methodUpdateDisplay
Relayouts the graph if needed.
Public methodUploadGraph
Uploads the graph to YComp/MSAGL, updates the display and makes a synchronisation. Does not change the stored graph, even though this is required for naming.
Public methodWaitForElement
Top
Events
  NameDescription
Public eventOnConnectionLost
Top
Fields
  NameDescription
Public fielddumpInfo
Protected fieldrealizers (Inherited from GraphViewerBaseClient.)
Top
See Also