Edge class

Data model of edge component.

关系【边】组件的数据模型

Constructors

Edge()

Properties

colors ↔ List<Color>
Cache the colors for this edge.
getter/setter pair
computeIndex → double
no setter
data ↔ dynamic
Edge data, will display in panel by hover callback.
getter/setter pair
edgeIdx → int
no setter
edgeIdxRatio → double
no setter
edgeName ↔ String
The name of edge.
getter/setter pair
end ↔ Vertex?
Cache the destination vertex.
getter/setter pair
g ↔ Graph?
getter/setter pair
hashCode → int
Uniqueness based on primary key of triple.
no setteroverride
isHovered ↔ bool
Is this edge under focus now
getter/setter pair
isLoop → bool
no setter
length → double
no setter
path ↔ Path?
getter/setter pair
position → Vector2
no setter
ranking ↔ int
The key for edge.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Vector2
no setter
solid ↔ bool
getter/setter pair
start ↔ Vertex
Cache the source vertex.
getter/setter pair
visible ↔ bool
getter/setter pair
zoom → double
no setter

Methods

edgeCenter() → Float64List
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.
override