The SimpleNode type exposes the following members.

Constructors

  NameDescription
Public methodSimpleNode()()()()
Creates a default node with default lookup and empty labels and port collections.
Public methodSimpleNode(IListEnumerable<(Of <<'(ILabel>)>>), IRectangle, IListEnumerable<(Of <<'(IPort>)>>))
Creates a node with a default lookup using the given label and ports collection as well as the layout instance.
Public methodSimpleNode(ILookup, IListEnumerable<(Of <<'(ILabel>)>>), IRectangle, IListEnumerable<(Of <<'(IPort>)>>))
Initializes a new instance of the SimpleNode class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLookup
Returns the currently set ILookup delegate.
(Inherited from AbstractModelItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup
Simple lookup implementation that delegates to the current lookup delegate if it is available. Otherwise returns this if this is assignable to the provided type.
(Overrides AbstractModelItem..::..Lookup(Type).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetLookupImplementation
Sets the ILookup implementation used for Lookup(Type) calls on this instance.
(Inherited from AbstractModelItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)
Public Extension MethodSafeGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)

Properties

  NameDescription
Public propertyLabels
Gets or sets the collection for the labels.
(Inherited from AbstractLabeledItem.)
Public propertyLayout
Returns a live view of the layout of the node.
Public propertyPorts
Provides access to a collection of ports that are owned by this instance.
Public propertyStyle
Returns the style that is responsible for the visual representation of this node in a CanvasControl.
Public propertyTag
Gets or sets the tag associated with this instance.
(Inherited from AbstractModelItem.)

See Also