Edge Class

Comuna.NET

Edge Class

Represents an edge structure used to save a connection of a Network to a Graphviz dot file.
Inheritance Hierarchy
SystemObject  Comuna.GraphvizEdge

Namespace:  Comuna.Graphviz
Assembly:  Comuna.Graphviz (in Comuna.Graphviz.dll) Version: 1.0.0
Syntax
C#
public class Edge : IUndirectedEdge<Node>, IEdge<Node>
Request Example View Source

The Edge type exposes the following members.

Constructors
  NameDescription
Public methodEdge
Creates a new Edge linking the given source and target with the associated weight.
Top
Properties
  NameDescription
Public propertyShowLabel
Gets or sets a value indicating whether to show the edge's label.
Public propertySource
Gets the source node.
Public propertyTarget
Gets the target node.
Public propertyWeight
Gets the weight associated with this connection.
Top
Methods
  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(Edge)
Tests whether this connection is equal to another one.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Tests whether the two connections are equal.
Public operatorStatic memberInequality
Tests whether the two connections are different (not equal).
Top
See Also