Table of Contents

Method GetNode

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

GetNode(string)

Gets a node by ID.

public INode GetNode(string id)

Parameters

id string

The node ID.

Returns

INode

The matching node, or null when no node matches.

GetNode<T>()

Gets the first node assignable to a specific CLR type.

public INode GetNode<T>()

Returns

INode

The first node assignable to T, or null when none match.

Type Parameters

T

GetNode(Type)

Gets the first node assignable to a specific CLR type.

public INode GetNode(Type t)

Parameters

t Type

The node base type or interface to match.

Returns

INode

The first node assignable to t, or null when none match.