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

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

The GraphViewerClient type exposes the following members.

Constructors
  NameDescription
Public methodGraphViewerClient
Creates a new GraphViewerClient instance. internally, it creates a YCompClient and connects to the local YComp server, or creates a MSAGLClient, inside the basicGraphViewerClientHost (which may be a GuiConsoleDebuggerHost) in case one is supplied, depending on the graph viewer type that is requested (the layout is expected to be one of the valid layouts of the corresponding graph viewer client).
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 methodStatic memberAvailableLayouts
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
Public methodDeleteEdge(String)
Public methodDeleteEdge(IEdge)
Public methodDeleteNode(String)
Public methodDeleteNode(INode)
Public methodForceLayout
Forces yComp to relayout the graph.
Public methodStatic memberGetDoEventsCaller
Public methodStatic memberGetGuiConsoleDebuggerHostCreator
returns a host creator from graphViewerAndSequenceDebuggerWindowsForms.dll
Public methodGetLayoutOptions
Retrieves the available options of the current layouter of yComp and the current values.
Public methodStatic memberIsValidLayout
Public methodReadCommand
Public methodRetypingElement
Public methodSetLayout
Sets the current layouter of yComp
Public methodSetLayoutOption
Sets a layout option of the current layouter of yComp.
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, 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
Top
See Also