Inheritance
GraphTransform
public abstract class GraphTransform
Fields
Declaration
protected GraphBuilder m_Builder
Field Value
Methods
Declaration
protected void ClearVisitedNodes()
Declaration
protected virtual void DoRun()
Declaration
protected abstract void DoVisit(NodeId nodeId, INode n, PortMapper nodeMapper)
Parameters
Declaration
protected IEnumerable<(NodeId id, IOutputDataPort port)> GetConnectedPort(IInputDataPort port)
Parameters
Returns
Declaration
protected IEnumerable<(NodeId id, IInputDataPort port)> GetConnectedPort(IOutputDataPort port)
Parameters
Returns
Declaration
protected ILookup<uint, uint> GetOutputPortToConnectedInputPortsLookup()
Returns
Declaration
protected IUnitPort GetUnitPort(PortMapper oldMapping, IPort port)
Parameters
Returns
Declaration
protected void RemapEdges(Dictionary<IPort, IPort> portRemapping)
Parameters
Declaration
protected void Replace<T>(NodeId oldNodeId, INode oldNode, T newNode, PortMapper newMapping, Dictionary<IPort, IPort> portRemapping)
where T : struct, INode
Parameters
Type Parameters
Declaration
public void Run(GraphBuilder builder)
Parameters
Declaration
protected void Visit(NodeId nodeId)
Parameters
Type |
Name |
Description |
NodeId |
nodeId |
|
Extension Methods