Edge<E> class final Graphs

A graph edge connecting two nodes.

In UndirectedGraphs, the edge is an unordered pair of nodes.

Implementers
Annotations

Constructors

Edge(E source, E target)
Creates an edge from source to target.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
reversed Edge<E>
The edge with the source and target nodes reversed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → E
The source node of the edge.
final
target → E
The target node of the edge.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override