C# Class Invert.Core.GraphDesigner.InvertGraph

Inheritance: IGraphData, IItem, IJsonTypeResolver, IDataRecordRemoved, ITreeItem
显示文件 Open project: InvertGames/uFrame.Editor

Private Properties

Property Type Description
AddNode void
RemoveNode void

Public Methods

Method Description
AddConnection ( IConnectable output, IConnectable input ) : void
AddConnection ( string output, string input ) : void
AddItem ( IDiagramNodeItem item ) : void
CleanUpDuplicates ( ) : void
ClearInput ( IConnectable input ) : void

Removes all connections to an input

ClearOutput ( IConnectable output ) : void

Removes all connections from an output

CreateDefaultFilter ( string identifier = null ) : IGraphFilter
FindType ( string clrTypeString ) : Type
Initialize ( ) : void
InvertGraph ( ) : Invert.Core
PopFilter ( ) : void
PopToFilter ( IGraphFilter filter1 ) : void
PopToFilterById ( string filterId ) : void
PushFilter ( IGraphFilter filter ) : void
RecordRemoved ( IDataRecord record ) : void
RemoveConnection ( IConnectable output, IConnectable input ) : void

Removes a connection from this graph

RemoveItem ( IDiagramNodeItem nodeItem ) : void
Save ( ) : void
Validate ( ) : List

Gets a list of errors about this node or its children

Validate ( List errors ) : void

Validates this node decorating a list of errors

Private Methods

Method Description
AddNode ( IDiagramNode data ) : void
RemoveNode ( IDiagramNode node, bool removePositionData = true ) : void

Method Details

AddConnection() public method

public AddConnection ( IConnectable output, IConnectable input ) : void
output IConnectable
input IConnectable
return void

AddConnection() public method

public AddConnection ( string output, string input ) : void
output string
input string
return void

AddItem() public method

public AddItem ( IDiagramNodeItem item ) : void
item IDiagramNodeItem
return void

CleanUpDuplicates() public method

public CleanUpDuplicates ( ) : void
return void

ClearInput() public method

Removes all connections to an input
public ClearInput ( IConnectable input ) : void
input IConnectable
return void

ClearOutput() public method

Removes all connections from an output
public ClearOutput ( IConnectable output ) : void
output IConnectable
return void

CreateDefaultFilter() public method

public CreateDefaultFilter ( string identifier = null ) : IGraphFilter
identifier string
return IGraphFilter

FindType() public method

public FindType ( string clrTypeString ) : Type
clrTypeString string
return System.Type

Initialize() public method

public Initialize ( ) : void
return void

InvertGraph() public method

public InvertGraph ( ) : Invert.Core
return Invert.Core

PopFilter() public method

public PopFilter ( ) : void
return void

PopToFilter() public method

public PopToFilter ( IGraphFilter filter1 ) : void
filter1 IGraphFilter
return void

PopToFilterById() public method

public PopToFilterById ( string filterId ) : void
filterId string
return void

PushFilter() public method

public PushFilter ( IGraphFilter filter ) : void
filter IGraphFilter
return void

RecordRemoved() public method

public RecordRemoved ( IDataRecord record ) : void
record IDataRecord
return void

RemoveConnection() public method

Removes a connection from this graph
public RemoveConnection ( IConnectable output, IConnectable input ) : void
output IConnectable The output of the connection.
input IConnectable The input of the connection.
return void

RemoveItem() public method

public RemoveItem ( IDiagramNodeItem nodeItem ) : void
nodeItem IDiagramNodeItem
return void

Save() public method

public Save ( ) : void
return void

Validate() public method

Gets a list of errors about this node or its children
public Validate ( ) : List
return List

Validate() public method

Validates this node decorating a list of errors
public Validate ( List errors ) : void
errors List
return void