Class DataFlowGraphStencil
Inheritance
DataFlowGraphStencil
Syntax
public abstract class DataFlowGraphStencil : Stencil, ISearcherDatabaseProvider, IAuthoringContextProvider
Properties
Builder
Declaration
public override IBuilder Builder { get; }
Property Value
Type |
Description |
IBuilder |
|
Context
Declaration
public abstract IAuthoringContext Context { get; }
Property Value
Implements
DragNDropHandler
Declaration
public override IExternalDragNDropHandler DragNDropHandler { get; }
Property Value
Type |
Description |
IExternalDragNDropHandler |
|
Methods
ClearGraphElementsSearcherDatabases()
Declaration
public void ClearGraphElementsSearcherDatabases()
ClearGraphVariablesSearcherDatabases()
Declaration
public void ClearGraphVariablesSearcherDatabases()
ClearReferenceItemsSearcherDatabases()
Declaration
public void ClearReferenceItemsSearcherDatabases()
Declaration
public void ClearTypeMembersSearcherDatabases()
ClearTypesItemsSearcherDatabases()
Declaration
public void ClearTypesItemsSearcherDatabases()
CreateDataFlowGraph<TStencil>(String)
Declaration
public static void CreateDataFlowGraph<TStencil>(string assetName)
where TStencil : DataFlowGraphStencil
Parameters
Type |
Name |
Description |
String |
assetName |
|
Type Parameters
Name |
Description |
TStencil |
|
CreateNodesFromPort(Store, IPortModel, Vector2, IEnumerable<IEdgeModel>, IStackModel, Int32)
Declaration
public override void CreateNodesFromPort(Store store, IPortModel portModel, Vector2 position, IEnumerable<IEdgeModel> edgesToDelete, IStackModel stackModel, int index)
Parameters
Type |
Name |
Description |
Store |
store |
|
IPortModel |
portModel |
|
Vector2 |
position |
|
IEnumerable<IEdgeModel> |
edgesToDelete |
|
IStackModel |
stackModel |
|
Int32 |
index |
|
CreateTranslator()
Declaration
public override ITranslator CreateTranslator()
Returns
Type |
Description |
ITranslator |
|
CreateVariableModelForDeclaration(IGraphModel, IVariableDeclarationModel, Vector2, SpawnFlags, Nullable<GUID>)
Declaration
public override IVariableModel CreateVariableModelForDeclaration(IGraphModel graphModel, IVariableDeclarationModel declarationModel, Vector2 position, SpawnFlags spawnFlags = null, GUID? guid = default(GUID? ))
Parameters
Type |
Name |
Description |
IGraphModel |
graphModel |
|
IVariableDeclarationModel |
declarationModel |
|
Vector2 |
position |
|
SpawnFlags |
spawnFlags |
|
Nullable<GUID> |
guid |
|
Returns
Type |
Description |
IVariableModel |
|
GetBlackboardProvider()
Declaration
public override IBlackboardProvider GetBlackboardProvider()
Returns
Type |
Description |
IBlackboardProvider |
|
GetConstantNodeModelType(TypeHandle)
Declaration
public override Type GetConstantNodeModelType(TypeHandle typeHandle)
Parameters
Type |
Name |
Description |
TypeHandle |
typeHandle |
|
Returns
GetDynamicSearcherDatabases(IPortModel)
Declaration
public List<SearcherDatabase> GetDynamicSearcherDatabases(IPortModel portModel)
Parameters
Type |
Name |
Description |
IPortModel |
portModel |
|
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetGraphElementsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetGraphElementsSearcherDatabases()
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetGraphVariablesSearcherDatabases(IGraphModel, IFunctionModel)
Declaration
public List<SearcherDatabase> GetGraphVariablesSearcherDatabases(IGraphModel graphModel, IFunctionModel functionModel = null)
Parameters
Type |
Name |
Description |
IGraphModel |
graphModel |
|
IFunctionModel |
functionModel |
|
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetPortsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetPortsSearcherDatabases()
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetReferenceItemsSearcherDatabases()
Declaration
public List<SearcherDatabase> GetReferenceItemsSearcherDatabases()
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetSearcherAdapter(IGraphModel, String)
Declaration
public override ISearcherAdapter GetSearcherAdapter(IGraphModel graphModel, string title)
Parameters
Type |
Name |
Description |
IGraphModel |
graphModel |
|
String |
title |
|
Returns
Type |
Description |
ISearcherAdapter |
|
GetSearcherDatabaseProvider()
Declaration
public override ISearcherDatabaseProvider GetSearcherDatabaseProvider()
Returns
Type |
Description |
ISearcherDatabaseProvider |
|
GetSearcherFilterProvider()
Declaration
public override ISearcherFilterProvider GetSearcherFilterProvider()
Returns
Type |
Description |
ISearcherFilterProvider |
|
GetSourceFilePath(VSGraphModel)
Declaration
public override string GetSourceFilePath(VSGraphModel graphModel)
Parameters
Type |
Name |
Description |
VSGraphModel |
graphModel |
|
Returns
GetTypeMembersSearcherDatabases(TypeHandle)
Declaration
public List<SearcherDatabase> GetTypeMembersSearcherDatabases(TypeHandle typeHandle)
Parameters
Type |
Name |
Description |
TypeHandle |
typeHandle |
|
Returns
Type |
Description |
List<SearcherDatabase> |
|
GetTypesSearcherDatabases()
Declaration
public List<SearcherDatabase> GetTypesSearcherDatabases()
Returns
Type |
Description |
List<SearcherDatabase> |
|
PreProcessGraph(VSGraphModel)
Declaration
public override void PreProcessGraph(VSGraphModel graphModel)
Parameters
Type |
Name |
Description |
VSGraphModel |
graphModel |
|
RegisterReducers(Store)
Declaration
public override void RegisterReducers(Store store)
Parameters
Type |
Name |
Description |
Store |
store |
|
ValidateEdgeConnection(IPortModel, IPortModel)
Declaration
public override bool ValidateEdgeConnection(IPortModel inputPort, IPortModel outputPort)
Parameters
Type |
Name |
Description |
IPortModel |
inputPort |
|
IPortModel |
outputPort |
|
Returns