INNER CODE UNIT · Dart
Edge
nabil6391/graphview · lib/Graph.dart:332
class Edge {
/// The origin node of this edge.
Node source;
/// The target node of this edge.
Node destination;
/// Optional key for identity comparison (overrides hash-based equality).
Key? key;
/// Optional custom paint for rendering this edge with specific colors or stroke width.
Paint? paint;
/// Creates an edge from [source] to [destination].
Edge(this.source, this.destination, {this.key, this.paint});
@override
bool operator ==(Object? other) =>