ISubGraphModel

StockSharp.Xaml.Diagram.GXDiagram.Model

The subgraph model is a kind of grouping model that limits each node (including subgraphs) to be a member of at most one group.

Implements: IGroupsModel, IDiagramModel

Methods

DoGroupNodeChanged
public void DoGroupNodeChanged(object nodedata)
iSubGraphModel.DoGroupNodeChanged(nodedata)

This method should be called when the containing group node data for a node data has been changed.

nodedata
GetGroupForNode
public object GetGroupForNode(object nodedata)
result = iSubGraphModel.GetGroupForNode(nodedata)

Get the "container" node data for a given node data.

nodedata

Returns: a node data

SetGroupNode
public void SetGroupNode(object nodedata, object groupnodedata)
iSubGraphModel.SetGroupNode(nodedata, groupnodedata)

Change the container group node data of a node data.

nodedata
the node data to be modified
groupnodedata
the new "container" group node data, or null to make the node uncontained