Click or drag to resize

IEdge Interface

A GrGen edge (arbitrary direction)

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 4.5
Syntax
C#
public interface IEdge : IGraphElement

The IEdge type exposes the following members.

Properties
  NameDescription
Public propertyReplacedByEdge
The edge which replaced this edge (Valid is false in this case) or null, if this edge has not been replaced or is still a valid member of a graph.
Public propertyReplacedByElement
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.)
Public propertySource
The source node of the edge.
Public propertyTarget
The target node of the edge.
Public propertyType
Returns the EdgeType of the edge
Public propertyValid
This is true, if the element is a valid graph element, i.e. it is part of a graph.
(Inherited from IGraphElement.)
Top
Methods
  NameDescription
Public methodApplyFunctionMethod
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.)
Public methodApplyProcedureMethod
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.)
Public methodAreAttributesEqual
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.)
Public methodClone
Creates a copy of this edge. All attributes will be transfered to the new edge. The edge will not be associated to a graph, yet. So it will not have any assigned variables.
Public methodGetAttribute
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.)
Public methodGetUniqueId
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.)
Public methodInstanceOf
Returns true, if the graph element is compatible to the given type
(Inherited from IGraphElement.)
Public methodOpposite
Retrieves the other incident node of this edge.
Public methodResetAllAttributes
Resets all graph element attributes to their initial values.
(Inherited from IGraphElement.)
Public methodSetAttribute
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.)
Top
See Also