GraphNode class

Constructors

GraphNode({String id, Offset position = Offset.infinite, Size size = Size.zero, Widget widget, bool visible = true, bool fixed = false, dynamic data})

Properties

boundingRect Rect
read-only
center Offset
read-only
data ↔ dynamic
holds any addational data
read / write
fixed bool
have fixed position
read / write
globalBoundCoords List<Offset>
read-only
hashCode int
The hash code for this object. [...]
read-only, override
id String
should be a unique id, can be provided from outside. If omitted, this class will automatically generate one.
read / write
leftBottom Offset
read-only
leftTop Offset
read-only
position Offset
left-top position of the box
read / write
positionUnset bool
read-only
rightBottom Offset
read-only
rightTop Offset
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Size
size of the wrapperbox
read / write
visible bool
simple visibility porperty (not used yet)
read / write
widget Widget
widget to be shown inside the wrapperbox
read / write

Methods

copy() GraphNode
locateByCenter(Offset center) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Properties

nextID String
returns the String representation of the node
read-only

Constants

INVALID_ID → const String
"-1"