Graph<ID> class

Data model of graph component. 图组件的数据模型

Constructors

Graph()

Properties

allEdgeNames List<String>
cache the all edge name
getter/setter pair
allTags List<String>
cache the all tags of vertexes.
getter/setter pair
centerVertexes List<Vertex>
no setter
data ↔ dynamic
The origin business data of graph. 图的原始业务数据。
getter/setter pair
edges Set<Edge>
All the edges' data in graph. 图中所有的关系数据
getter/setter pair
edgesBetween Map<Vertex, Map<Vertex, List<Edge>>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hoverEdge Edge?
The edge which is focused by mouse.
getter/setter pair
hoverVertex Vertex<ID>?
The vertex which is focused by mouse. 鼠标浮入所命中的节点,用于做高亮显示。
getter/setter pair
keyCache Map<ID, Vertex<ID>>
Cache the key and vertex in order to get vertex by id. 对节点的 id 进行缓存,为了方便通过 id 获取到接点
getter/setter pair
pickedVertex List<Vertex<ID>>
The vertexes selected by the user. 被用户所选中的节点
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexes List<Vertex<ID>>
All the vertexes' data in graph. 图中所有的节点数据
getter/setter pair

Methods

edgesFromTwoVertex(Vertex start, Vertex? end) List<Edge>
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