Diagram class

Implementers
Available Extensions
Annotations
  • @JS()

Constructors

Diagram(Element element)
factory

Properties

allowHorizontalScroll bool
getter/setter pair
allowVerticalScroll bool
getter/setter pair
allowZoom bool
getter/setter pair
animationManager AnimationManager
no setter
autoScrollRegion Margin
getter/setter pair
contentAlignment Spot
getter/setter pair
div Element
getter/setter pair
documentBounds Rect
no setter
draggingTool DraggingTool
no setter
fixedBounds Rect
getter/setter pair
grid Panel
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialContentAlignment Spot
getter/setter pair
initialDocumentSpot Spot
getter/setter pair
initialPosition Point
getter/setter pair
initialViewportSpot Spot
getter/setter pair
isReadOnly bool
no setter
linkTemplate Link
getter/setter pair
linkTemplateMap GoMap<String, Part>
getter/setter pair
maxSelectionCount int
getter/setter pair
model Model
getter/setter pair
nodes Iterator<Node>
no setter
nodeTemplate Part
getter/setter pair
nodeTemplateMap GoMap<String, Part>
getter/setter pair
padding int
getter/setter pair
position Point
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection GoSet<GraphObject>
no setter
toolManager ToolManager
getter/setter pair
toolTip Adornment
getter/setter pair
viewportBounds Rect
no setter
viewSize Size
getter/setter pair

Methods

add(Part part) → void
addDiagramListener(String event, dynamic Function(DiagramEvent event)) → void
centerRect(Rect n) → void
clear() → void
clearSelection([bool skipsEvents]) → void
findLinkForData(dynamic data) Link
findNodeForKey(dynamic key) Part
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Part part) → void
removeDiagramListener(String event, dynamic Function(DiagramEvent event)) → void
requestUpdate() → void
scroll(dynamic unit, String dir, [num amount]) → void
select(GraphObject part) → void
toString() String
A string representation of this object.
inherited
transformDocToView(Point point) Point

Operators

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