reversed property

  1. @override
WeightedEdge<V> reversed
override

The edge with the source and target nodes reversed.

Not guaranteed to be valid in all graph types.

Implementation

@override
WeightedEdge<V> get reversed => WeightedEdge(target, source, weight);