GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
INode Interface
A GrGen node
Declaration Syntax
C#
public interface INode : IGraphElement
Members
All MembersMethodsProperties



IconMemberDescription
ApplyFunctionMethod(IActionExecutionEnvironment, IGraph, String, array<Object>[]()[][])
Executes the function method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
(Inherited from IGraphElement.)
ApplyProcedureMethod(IActionExecutionEnvironment, IGraph, String, array<Object>[]()[][])
Executes the procedure method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
(Inherited from IGraphElement.)
AreAttributesEqual(IGraphElement)
Returns whether the attributes of this element and that are equal. If types are unequal the result is false, otherwise the conjunction of equality comparison of the attributes.
(Inherited from IGraphElement.)
Clone()()()()
Creates a copy of this node. All attributes will be transfered to the new node. The node will not be associated to a graph, yet. So it will not have any incident edges nor any assigned variables.

GetAttribute(String)
Returns the graph element attribute with the given attribute name. If the graph element type doesn't have an attribute with this name, a NullReferenceException is thrown.
(Inherited from IGraphElement.)
GetCompatibleIncident(EdgeType)
Returns an IEnumerable<IEdge> over all incident edges with the same type or a subtype of the given type

GetCompatibleIncoming(EdgeType)
Returns an IEnumerable<IEdge> over all incoming edges with the same type or a subtype of the given type

GetCompatibleOutgoing(EdgeType)
Returns an IEnumerable<IEdge> over all outgoing edges with the same type or a subtype of the given type

GetExactIncident(EdgeType)
Returns an IEnumerable<IEdge> over all incident edges with exactly the given type

GetExactIncoming(EdgeType)
Returns an IEnumerable<IEdge> over all incoming edges with exactly the given type

GetExactOutgoing(EdgeType)
Returns an IEnumerable<IEdge> over all outgoing edges with exactly the given type

GetUniqueId()()()()
Gets the unique id of the graph element. Only available if unique ids for nodes and edges were declared in the model (or implicitely switched on by parallelization or the declaration of some index).
(Inherited from IGraphElement.)
Incident
Returns an IEnumerable<IEdge> over all incident edges

Incoming
Returns an IEnumerable<IEdge> over all incoming edges

InstanceOf(GrGenType)
Returns true, if the graph element is compatible to the given type
(Inherited from IGraphElement.)
Outgoing
Returns an IEnumerable<IEdge> over all outgoing edges

ReplacedByElement
The element which replaced this element (Valid is false in this case) or null, if this element has not been replaced or is still a valid member of a graph.
(Inherited from IGraphElement.)
ReplacedByNode
The node which replaced this node (Valid is false in this case) or null, if this node has not been replaced or is still a valid member of a graph.

ResetAllAttributes()()()()
Resets all graph element attributes to their initial values.
(Inherited from IGraphElement.)
SetAttribute(String, Object)
Sets the graph element attribute with the given attribute name to the given value. If the graph element type doesn't have an attribute with this name, a NullReferenceException is thrown.
(Inherited from IGraphElement.)
Type
The NodeType of the node

Type
The GrGenType of the graph element
(Inherited from IGraphElement.)
Valid
This is true, if the element is a valid graph element, i.e. it is part of a graph.
(Inherited from IGraphElement.)

Assembly: libGr (Module: libGr) Version: 4.4.0.0 (4.4.0.0)