NmGraphEdgeData class

An edge (relationship) in the tax graph.

Constructors

NmGraphEdgeData({required String id, required String sourceId, required String targetId, required NmEdgeType type, String? label, double weight = 1.0, bool isHighlighted = false, Map<String, dynamic> metadata = const {}})
Creates a NmGraphEdgeData.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Id.
final
isHighlighted → bool
Is highlighted.
final
label → String?
Label.
final
metadata → Map<String, dynamic>
Metadata.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceId → String
Source id.
final
targetId → String
Target id.
final
thickness → double
Edge thickness based on weight.
no setter
type → NmEdgeType
Type.
final
weight → double
Weight.
final

Methods

copyWith({String? id, String? sourceId, String? targetId, NmEdgeType? type, String? label, double? weight, bool? isHighlighted, Map<String, dynamic>? metadata}) → NmGraphEdgeData
Copy with.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited