Search
Diagram Properties
 


 Public Properties

  Name Description

activeItem

Gets the active diagram item.

activeItemHandlesStyle

Gets or sets the visual style of adjustment handles of the active item.

adjustmentHandlesSize

Gets or sets the size of adjustment handles that appear around selected items.

alignToGrid

Gets or sets a value indicating whether the diagram items should be aligned to a grid.

allowMultipleResize

Gets or sets a value indicating whether multiple selected nodes can be resized simultaneously.

allowSelfLoops

Gets or sets a value indicating whether users are allowed to draw reflexive links.

allowUnconnectedLinks

Gets or sets a value indicating whether users are allowed to draw links that are not connected to any node.

autoArrangeAvoidContainers

Gets or sets a value indicating whether auto-arranged link labels should avoid containers.

autoArrangeAvoidSegments

Gets or sets a value indicating whether auto-arranged link labels should avoid link segments.

autoCloseDistance

Gets or sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically.

autoResize

Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents.

backBrush

Gets or sets an object specifying how to fill the diagram background.

backgroundImageAlign

Gets or sets a value indicating how to align the background image.

backgroundImageContent

Gets or sets a Base64-encoded image to display as diagram background.

backgroundImageUrl

Gets or sets URL of the image to paint as diagram's background.

bounds

Gets the underlying Canvas element's logical bounds. (Inherited from Canvas.)

crossingRadius

Gets or sets the radius length of decorations displayed at link intersection points.

customLinkType

Gets or sets the type of DiagramLink objects to create when users starts drawing.

customNodeType

Gets or sets the type of DiagramNode objects to create when users starts drawing.

defaultShape

Gets or sets the default shape assigned to new ShapeNode objects.

dirty

Gets or sets a value indicating whether the diagram has changed since loading it.

disabledHandlesStyle

Gets or sets the visual style of disabled adjustment handles.

dynamicLinks

Gets or sets initial value of the dynamic property of new links.

element

Returns a reference to the control's DOM element. (Inherited from Disposable.)

enabled

Gets or sets whether mouse events are enabled. (Inherited from Disposable.)

expandButtonAction

Gets or sets how the control responds to users clickingthe +/- button displayed by expandable nodes.

expandOnIncoming

Gets or sets a value indicating the link direction in which tree branches are expanded.

factory

Gets a Factory object that lets you programmatically add new items to the diagram.

font

Gets or sets the default font of text displayed by diagram items.

freeFormAttractDistance

Gets or sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too.

freeFormTargets

Gets or sets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when behavior is set to LinkFreeShapes or DrawFreeShapes.

gridColor

Gets or sets the color of grid points.

gridOffsetX

Gets or sets the horizontal offset of the first point of the alignment grid.

gridOffsetY

Gets or sets the vertical offset of the first point of the alignment grid.

gridPointSize

Gets or sets the size of shapes used to represent grid points.

gridSizeX

Gets or sets the horizontal distance between adjacent grid points.

gridSizeY

Gets or sets the vertical distance between adjacent grid points.

gridStyle

Gets or sets the visual style of the alignment grid.

items

Returns an array of all items in this diagram.

laneGrid

Gets the lane grid.

linkBaseShape

Gets or sets the shape displayed at the base of new links.

linkBaseShapeSize

Gets or sets the default size of arrowheads at base of new links.

linkBrush

Gets or sets the default fill of link arrowheads.

linkCrossings

Gets or sets a value indicating how to render the intersection points of links.

linkHeadShape

Gets or sets the shape displayed as head of new links.

linkHeadShapeSize

Gets or sets the default size of arrowheads.

linkHitDistance

Gets or sets a value specifying how far from a link a click is still considered a hit.

linkPen

Gets or sets the default stroke of links.

linkRouter

Gets or sets the object used to find paths for auto-routed links when diagram nodes are added or their positions change.

links

Returns an array of all links in this diagram.

linkSegments

Gets or sets the default number of link segments.

linkShape

Gets or sets the initial shape assigned to new links.

linkTextStyle

Gets or sets the default text placement and orientation of new links.

measureUnit

Gets or sets the unit of measure used for logical coordinates. (Inherited from Canvas.)

minVisibleFontSize

Gets or sets a threshold value that hides text if scaled font sizes become smaller. (Inherited from Canvas.)

nodeEffects

Gets the global effects applied to nodes in this diagram.

nodes

Returns an array of all nodes in this diagram.

nodesExpandable

Gets or sets a value indicating whether newly created nodes are expandable.

roundedLinks

Gets or sets a value indicating whether the joints between segments of Polyline and Cascading links should be rounded.

roundedLinksRadius

Gets or sets the radius of joint arcs of rounded links' segments.

routeLinks

Gets or sets initial value of the autoRoute property of new links.

routeMargin

Gets or sets the minimal distance between nodes and auto-routed links.

scale

Gets the current scale of this Canvas. (Inherited from Canvas.)

selectedItemHandlesStyle

Gets or sets the visual style of adjustment handles of selected items.

selection

Gets a Selection instance that represents the selection of items in this diagram.

shadowOffsetX

Gets or sets the horizontal offset of items' shadows.

shadowOffsetY

Gets or sets the vertical offset of items' shadows.

shadowsStyle

Gets or sets the style of shadows.

shapeBrush

Gets or sets the default fill of ShapeNode objects.

shapeLibraryLocation

Gets or sets the location of a shape library file containing custom shape definitions. It can be set to a full URL of the file, or a relative file path.

shapePen

Gets or sets the default stroke of ShapeNode objects.

showAnchors

Gets or sets a value indicating when to display anchor point marks.

showDisabledHandles

Gets or sets a value indicating whether adjustment handles are painted when they are disabled.

showGrid

Gets or sets a value indicating whether the alignment grid is visible.

showLaneGrid

Gets or sets a value indicating whether the lane grid is visible.

style

Gets or sets the style associated with this diagram.

tag

Gets or sets custom data associated with this diagram.

theme

Gets or sets the theme associated with this diagram.

undoEnabled

Gets or sets a value indicating whether saving action records for later undo is enabled.

version

Gets a string identifying current version of the library.

 See Also