EdgeReferences public readonly struct Edge : IEquatable<Edge> Show allAn edge in a graph. AllConstructorsPropertiesMethods ObsoleteInherited ConstructorsEdge#public Edge(int a, int b, bool bidirectional, int attributes)Create a new edge.Parameters:a (int)Index of node at start of edge.b (int)Index of node at end of edge.bidirectional (bool)True if the edge is two-way.attributes (int)Index of attributes.Edge#public Edge(int a, int b)Create a two-way edge without attributes.Parameters:a (int)Index of node at start of edge.b (int)Index of node at end of edge.PropertiesA#public int A { get; }Gets the index of the node at the start of the edge.Attributes#public int Attributes { get; }Gets the index of the attributes of this edge, or -1 if the edge has no attributes.B#public int B { get; }Gets the index of the node at the end of the edge.Bidirectional#public bool Bidirectional { get; }Gets whether this edge is two-way.MethodsEquals#public bool Equals(Edge other)Parameters:other (Edge)Equals#public override bool Equals(object obj)Parameters:obj (object)Overrides: ValueType.EqualsGetHashCode#public override int GetHashCode()Overrides: ValueType.GetHashCodeMakeBidirectional#public Edge MakeBidirectional()Make this edge two-way.MakeUnidirectional#public Edge MakeUnidirectional()Make this edge one-way.Reverse#public Edge Reverse()Reverse this edge.WithAttributes#public Edge WithAttributes(int attributes)Associate this edge with a different set of attributes.Parameters:attributes (int)