Ir al contenido

Link

Defined in: parts/Link.ts:15

A visual link between two nodes.

new Link(key, fromKey, toKey): Link

Defined in: parts/Link.ts:67

NodeKey

NodeKey

NodeKey

Link

Part.constructor

readonly static CircleArrowHead: "circle" = 'circle'

Defined in: parts/Link.ts:27


readonly static Curved: "curved" = 'curved'

Defined in: parts/Link.ts:19


readonly static DiamondArrowHead: "diamond" = 'diamond'

Defined in: parts/Link.ts:26


readonly static None: "none" = 'none'

Defined in: parts/Link.ts:22


readonly static OpenTriangleArrowHead: "openArrow" = 'openArrow'

Defined in: parts/Link.ts:24


readonly static Orthogonal: "orthogonal" = 'orthogonal'

Defined in: parts/Link.ts:18


readonly static StandardArrowHead: "triangle" = 'triangle'

Defined in: parts/Link.ts:25


readonly static Straight: "straight" = 'straight'

Defined in: parts/Link.ts:17


readonly static TriangleArrowHead: "triangle" = 'triangle'

Defined in: parts/Link.ts:23

get actualBounds(): Rect

Defined in: parts/Part.ts:230

GoJS-compatible: The actual bounds of this part in document coordinates.

Rect

set actualBounds(value): void

Defined in: parts/Part.ts:234

Rect

void

Part.actualBounds


get adornments(): ReadonlyMap<string, Adornment>

Defined in: parts/Part.ts:572

Get all adornments on this part.

ReadonlyMap<string, Adornment>

Part.adornments


get angle(): number

Defined in: parts/Part.ts:313

The rotation angle in degrees.

number

set angle(value): void

Defined in: parts/Part.ts:317

number

void

Part.angle


get arrowhead(): ArrowheadStyle

Defined in: parts/Link.ts:281

The arrowhead style at the target end.

ArrowheadStyle

set arrowhead(value): void

Defined in: parts/Link.ts:285

ArrowheadStyle

void


get arrowheadSize(): number

Defined in: parts/Link.ts:290

The size of the arrowhead.

number

set arrowheadSize(value): void

Defined in: parts/Link.ts:294

number

void


get avoidObstacles(): boolean

Defined in: parts/Link.ts:425

Whether this link should route around obstacles (nodes).

boolean

set avoidObstacles(value): void

Defined in: parts/Link.ts:429

boolean

void


get background(): string | null

Defined in: parts/Part.ts:185

GoJS-compatible: The background color of this part.

string | null

set background(value): void

Defined in: parts/Part.ts:189

string | null

void

Part.background


get bindings(): readonly Binding[]

Defined in: parts/Part.ts:603

Get all bindings on this part.

readonly Binding[]

Part.bindings


get bounds(): Rect

Defined in: parts/Part.ts:135

Rect

set bounds(value): void

Defined in: parts/Part.ts:139

Rect

void

Part.bounds


get category(): string

Defined in: parts/Part.ts:368

GoJS-compatible: The category of this part (used to select a template).

string

set category(value): void

Defined in: parts/Part.ts:372

string

void

Part.category


get center(): object

Defined in: parts/Link.ts:559

Get the center point of the link.

object

x: number

y: number

Part.center


get containingGroup(): Part | null

Defined in: parts/Part.ts:405

Get the containing group, or null if top-level.

Part | null

set containingGroup(value): void

Defined in: parts/Part.ts:410

Set the containing group.

Group | null

void

Part.containingGroup


get contextMenu(): Panel | HTMLInfo | null

Defined in: parts/Part.ts:488

GoJS-compatible: a context menu shown on right-click — a Panel template drawn to canvas, or an HTMLInfo for full control over an HTML element.

Panel | HTMLInfo | null

set contextMenu(value): void

Defined in: parts/Part.ts:492

Panel | HTMLInfo | null

void

Part.contextMenu


get copyable(): boolean

Defined in: parts/Part.ts:118

GoJS-compatible: Whether this part can be copied.

boolean

set copyable(value): void

Defined in: parts/Part.ts:122

boolean

void

Part.copyable


get corner(): number

Defined in: parts/Link.ts:326

The corner rounding radius for orthogonal routing.

number

set corner(value): void

Defined in: parts/Link.ts:330

number

void


get cursor(): string

Defined in: parts/Part.ts:203

GoJS-compatible: The cursor shown when hovering this part.

string

set cursor(value): void

Defined in: parts/Part.ts:207

string

void

Part.cursor


get curve(): "None" | "Bezier" | "JumpOver" | "AvoidsNodes"

Defined in: parts/Link.ts:145

GoJS-compatible: The type of curve used for this link.

"None" | "Bezier" | "JumpOver" | "AvoidsNodes"

set curve(value): void

Defined in: parts/Link.ts:149

"None" | "Bezier" | "JumpOver" | "AvoidsNodes"

void


get curviness(): number

Defined in: parts/Link.ts:380

Controls the tightness of curved routing. 0 = default, positive = tighter, negative = looser.

number

set curviness(value): void

Defined in: parts/Link.ts:384

number

void


get data(): NodeData | null

Defined in: parts/Part.ts:359

GoJS-compatible: Reference to the model data object for this part.

NodeData | null

set data(value): void

Defined in: parts/Part.ts:363

NodeData | null

void

Part.data


get deletable(): boolean

Defined in: parts/Part.ts:96

GoJS-compatible: Whether this part can be deleted.

boolean

set deletable(value): void

Defined in: parts/Part.ts:100

boolean

void

Part.deletable


get desiredSize(): Size | null

Defined in: parts/Part.ts:162

GoJS-compatible: The desired size of this part.

Size | null

set desiredSize(value): void

Defined in: parts/Part.ts:167

Size | { height: number; width: number; } | null

void

Part.desiredSize


get diagram(): Diagram | null

Defined in: parts/Part.ts:443

GoJS-compatible: The diagram that this part is in (or null).

Diagram | null

set diagram(value): void

Defined in: parts/Part.ts:448

Set the diagram this part belongs to.

Diagram | null

void

Part.diagram


get dragAlpha(): number

Defined in: parts/Part.ts:377

GoJS-compatible: The opacity used when this part is being dragged.

number

set dragAlpha(value): void

Defined in: parts/Part.ts:381

number

void

Part.dragAlpha


get draggable(): boolean

Defined in: parts/Part.ts:506

Whether this part can be dragged.

boolean

set draggable(value): void

Defined in: parts/Part.ts:510

boolean

void

Part.draggable


get elements(): readonly GraphObject[]

Defined in: parts/Part.ts:546

GoJS-compatible: Get the child elements in this part’s visual tree.

readonly GraphObject[]

Part.elements


get fill(): string

Defined in: parts/Part.ts:280

string

set fill(value): void

Defined in: parts/Part.ts:284

string

void

Part.fill


get fromEndSegmentLength(): number

Defined in: parts/Link.ts:443

GoJS-compatible: Length of the segment at the start of the link.

number

set fromEndSegmentLength(value): void

Defined in: parts/Link.ts:447

number

void


get fromEndSegmentOrientation(): number

Defined in: parts/Link.ts:163

GoJS-compatible: The orientation of the segment leaving the from-end.

number

set fromEndSegmentOrientation(value): void

Defined in: parts/Link.ts:167

number

void


get fromKey(): NodeKey

Defined in: parts/Link.ts:75

NodeKey

set fromKey(value): void

Defined in: parts/Link.ts:79

NodeKey

void


get fromNode(): Node | null

Defined in: parts/Link.ts:84

GoJS-compatible: The source node of this link (or null).

Node | null

set fromNode(value): void

Defined in: parts/Link.ts:90

NodeKey | Node | null

void


get fromPort(): object

Defined in: parts/Link.ts:180

object

x: number

y: number

set fromPort(value): void

Defined in: parts/Link.ts:184

number

number

void


get fromPortName(): string | undefined

Defined in: parts/Link.ts:197

The name of the source port on the from-node.

string | undefined

set fromPortName(value): void

Defined in: parts/Link.ts:201

string | undefined

void


get fromShortLength(): number

Defined in: parts/Link.ts:407

GoJS-compatible: The distance from the from-end to the first point.

number

set fromShortLength(value): void

Defined in: parts/Link.ts:411

number

void


get fromSpot(): Spot | null

Defined in: parts/Link.ts:215

The spot on the from-node where this link connects.

Spot | null

set fromSpot(value): void

Defined in: parts/Link.ts:219

Spot | null

void


get hasManualReshape(): boolean

Defined in: parts/Link.ts:272

Whether pathPoints were set by the user reshaping this link (via LinkReshapingTool) rather than computed by the router. While true, model syncs that don’t touch this link’s own endpoints leave pathPoints alone instead of overwriting the manual shape; moving either endpoint node clears it (see Diagram.invalidateLinksForNode), reverting to auto-routing.

boolean

set hasManualReshape(value): void

Defined in: parts/Link.ts:276

boolean

void


get height(): number

Defined in: parts/Part.ts:153

GoJS-compatible: The height of this part (delegates to its bounds).

number

set height(value): void

Defined in: parts/Part.ts:157

number

void

Part.height


get isHighlighted(): boolean

Defined in: parts/Part.ts:127

GoJS-compatible: Whether this part is currently highlighted.

boolean

set isHighlighted(value): void

Defined in: parts/Part.ts:131

boolean

void

Part.isHighlighted


get isInDocumentBounds(): boolean

Defined in: parts/Part.ts:386

GoJS-compatible: Whether this part is within the document bounds.

boolean

set isInDocumentBounds(value): void

Defined in: parts/Part.ts:390

boolean

void

Part.isInDocumentBounds


get isMemberOfGroup(): boolean

Defined in: parts/Part.ts:415

GoJS-compatible: Whether this part is a member of a group.

boolean

Part.isMemberOfGroup


get isPositioned(): boolean

Defined in: parts/Part.ts:420

GoJS-compatible: Whether this part has been given a position/bounds.

boolean

Part.isPositioned


get isSelected(): boolean

Defined in: parts/Part.ts:264

boolean

set isSelected(value): void

Defined in: parts/Part.ts:268

boolean

void

Part.isSelected


get isTreeExpanded(): boolean

Defined in: parts/Part.ts:109

GoJS-compatible: Whether this part’s tree-children (per findTreeChildrenNodes) are shown. Distinct from Group.isSubGraphExpanded — this applies to any Part and is what TreeExpanderButton toggles via Diagram.collapseTree/expandTree.

boolean

set isTreeExpanded(value): void

Defined in: parts/Part.ts:113

boolean

void

Part.isTreeExpanded


get isTreeLink(): boolean

Defined in: parts/Link.ts:389

GoJS-compatible: Whether this link is a tree link (parent-child).

boolean

set isTreeLink(value): void

Defined in: parts/Link.ts:393

boolean

void


get isVisibleObject(): boolean

Defined in: parts/Part.ts:239

GoJS-compatible: Whether this part and its ancestors are visible.

boolean

Part.isVisibleObject


get jumpOver(): boolean

Defined in: parts/Link.ts:434

Whether this link should jump over other links at crossings.

boolean

set jumpOver(value): void

Defined in: parts/Link.ts:438

boolean

void


get key(): NodeKey

Defined in: parts/Part.ts:72

NodeKey

Part.key


get label(): string

Defined in: parts/Link.ts:299

The label text shown on the link.

string

set label(value): void

Defined in: parts/Link.ts:303

string

void


get labelAlignment(): "start" | "end" | "middle"

Defined in: parts/Link.ts:371

Horizontal alignment of the label along its segment.

"start" | "end" | "middle"

set labelAlignment(value): void

Defined in: parts/Link.ts:375

"start" | "end" | "middle"

void


get labelColor(): string

Defined in: parts/Link.ts:308

The color of the link label.

string

set labelColor(value): void

Defined in: parts/Link.ts:312

string

void


get labelFont(): string

Defined in: parts/Link.ts:317

The font of the link label.

string

set labelFont(value): void

Defined in: parts/Link.ts:321

string

void


get labelOffset(): number

Defined in: parts/Link.ts:335

The perpendicular offset of the link label from the path.

number

set labelOffset(value): void

Defined in: parts/Link.ts:339

number

void


get labelSegmentFraction(): number

Defined in: parts/Link.ts:353

GoJS-compatible (“segmentFraction”): position along the chosen segment, 0 (start) to 1 (end). Default 0.5 (midpoint).

number

set labelSegmentFraction(value): void

Defined in: parts/Link.ts:357

number

void


get labelSegmentIndex(): number

Defined in: parts/Link.ts:344

The segment index to place the label on (-1 = middle segment).

number

set labelSegmentIndex(value): void

Defined in: parts/Link.ts:348

number

void


get labelSide(): "top" | "bottom" | "left" | "right" | "auto"

Defined in: parts/Link.ts:362

Which side of the link to place the label on.

"top" | "bottom" | "left" | "right" | "auto"

set labelSide(value): void

Defined in: parts/Link.ts:366

"top" | "bottom" | "left" | "right" | "auto"

void


get layer(): Layer | null

Defined in: parts/Part.ts:425

Get the layer this part belongs to.

Layer | null

set layer(value): void

Defined in: parts/Part.ts:430

Set the layer this part belongs to.

Layer | null

void

Part.layer


get layerName(): string

Defined in: parts/Part.ts:395

GoJS-compatible: The name of the layer this part belongs to.

string

set layerName(_value): void

Defined in: parts/Part.ts:399

string

void

Part.layerName


get location(): Point

Defined in: parts/Part.ts:326

GoJS-compatible: The location point of this part — the point within the bounds at locationSpot. With the default locationSpot (0.5, 0.5) this is the center; changing locationSpot moves the part so the spot stays put.

Point

set location(value): void

Defined in: parts/Part.ts:334

Point

void

Part.location


get locationSpot(): object

Defined in: parts/Part.ts:341

GoJS-compatible: The spot in the part that corresponds to the location point.

object

x: number

y: number

set locationSpot(value): void

Defined in: parts/Part.ts:345

number

number

void

Part.locationSpot


get maxSize(): object

Defined in: parts/Part.ts:221

GoJS-compatible: The maximum size of this part.

object

height: number

width: number

set maxSize(value): void

Defined in: parts/Part.ts:225

number

number

void

Part.maxSize


get minSize(): object

Defined in: parts/Part.ts:212

GoJS-compatible: The minimum size of this part.

object

height: number

width: number

set minSize(value): void

Defined in: parts/Part.ts:216

number

number

void

Part.minSize


get name(): string

Defined in: parts/Part.ts:87

GoJS-compatible: an arbitrary name for this part. Real GoJS has this because Part extends GraphObject, which has its own .name (used for findObject-style lookups); graphojs’s Part is a separate class, so it needs its own copy of the same property rather than inheriting it — most relevant for a bare decorative Part (see Diagram.add), which ported GoJS code may still identify by .name the way it would identify any other GraphObject.

string

set name(value): void

Defined in: parts/Part.ts:91

string

void

Part.name


get opacity(): number

Defined in: parts/Part.ts:272

number

set opacity(value): void

Defined in: parts/Part.ts:276

number

void

Part.opacity


get panel(): Panel | null

Defined in: parts/Part.ts:533

GoJS-compatible: Get the panel used to render this part’s visual tree.

Panel | null

set panel(value): void

Defined in: parts/Part.ts:538

GoJS-compatible: Set the panel used to render this part’s visual tree.

Panel | null

void

Part.panel


get pathPattern(): string | null

Defined in: parts/Link.ts:488

GoJS-compatible: Custom path pattern for the link stroke.

string | null

set pathPattern(value): void

Defined in: parts/Link.ts:492

string | null

void


get pathPoints(): object[]

Defined in: parts/Link.ts:233

The computed path points for this link.

object[]


get pickable(): boolean

Defined in: parts/Part.ts:194

GoJS-compatible: Whether this part is pickable (hit-testable).

boolean

set pickable(value): void

Defined in: parts/Part.ts:198

boolean

void

Part.pickable


get position(): object

Defined in: parts/Part.ts:668

Get the position (top-left).

object

x: number

y: number

set position(value): void

Defined in: parts/Part.ts:673

Set the position (top-left), preserving size.

number

number

void

Part.position


get relinkableFrom(): boolean

Defined in: parts/Link.ts:461

GoJS-compatible: Whether the link can be relinked from the start end.

boolean

set relinkableFrom(value): void

Defined in: parts/Link.ts:465

boolean

void


get relinkableTo(): boolean

Defined in: parts/Link.ts:470

GoJS-compatible: Whether the link can be relinked to the end end.

boolean

set relinkableTo(value): void

Defined in: parts/Link.ts:474

boolean

void


get reshapable(): boolean

Defined in: parts/Link.ts:479

GoJS-compatible: Whether the link path can be reshaped by dragging midpoints.

boolean

set reshapable(value): void

Defined in: parts/Link.ts:483

boolean

void


get resizable(): boolean

Defined in: parts/Part.ts:515

Whether this part can be resized.

boolean

set resizable(value): void

Defined in: parts/Part.ts:519

boolean

void

Part.resizable


get resizingSegmentIndex(): number

Defined in: parts/Link.ts:154

GoJS-compatible: The segment index being resized, or -1.

number

set resizingSegmentIndex(value): void

Defined in: parts/Link.ts:158

number

void


get rotatable(): boolean

Defined in: parts/Part.ts:524

Whether this part can be rotated.

boolean

set rotatable(value): void

Defined in: parts/Part.ts:528

boolean

void

Part.rotatable


get routing(): LinkRouting

Defined in: parts/Link.ts:131

LinkRouting

set routing(value): void

Defined in: parts/Link.ts:135

LinkRouting

void


get scale(): number

Defined in: parts/Part.ts:176

GoJS-compatible: The scale of this part.

number

set scale(value): void

Defined in: parts/Part.ts:180

number

void

Part.scale


get selectable(): boolean

Defined in: parts/Part.ts:256

boolean

set selectable(value): void

Defined in: parts/Part.ts:260

boolean

void

Part.selectable


get selectionObject(): GraphObject | null

Defined in: parts/Part.ts:350

GoJS-compatible: The GraphObject that is used as the selection object (for adornment placement).

GraphObject | null

set selectionObject(_value): void

Defined in: parts/Part.ts:354

GraphObject | null

void

Part.selectionObject


get size(): object

Defined in: parts/Part.ts:679

Get the size.

object

height: number

width: number

Part.size


get stroke(): string

Defined in: parts/Part.ts:288

string

set stroke(value): void

Defined in: parts/Part.ts:292

string

void

Part.stroke


get strokeWidth(): number

Defined in: parts/Part.ts:296

number

set strokeWidth(value): void

Defined in: parts/Part.ts:300

number

void

Part.strokeWidth


get toEndSegmentLength(): number

Defined in: parts/Link.ts:452

GoJS-compatible: Length of the segment at the end of the link.

number

set toEndSegmentLength(value): void

Defined in: parts/Link.ts:456

number

void


get toEndSegmentOrientation(): number

Defined in: parts/Link.ts:172

GoJS-compatible: The orientation of the segment entering the to-end.

number

set toEndSegmentOrientation(value): void

Defined in: parts/Link.ts:176

number

void


get toKey(): NodeKey

Defined in: parts/Link.ts:98

NodeKey

set toKey(value): void

Defined in: parts/Link.ts:102

NodeKey

void


get toNode(): Node | null

Defined in: parts/Link.ts:107

GoJS-compatible: The destination node of this link (or null).

Node | null

set toNode(value): void

Defined in: parts/Link.ts:113

NodeKey | Node | null

void


get tooltip(): string

Defined in: parts/Part.ts:463

The tooltip text shown when hovering over this part.

string

set tooltip(value): void

Defined in: parts/Part.ts:467

string

void

Part.tooltip


get toolTip(): Panel | HTMLInfo | null

Defined in: parts/Part.ts:475

GoJS-compatible: a tooltip shown on hover — a Panel template drawn to canvas, or an HTMLInfo for full control over an HTML element.

Panel | HTMLInfo | null

set toolTip(value): void

Defined in: parts/Part.ts:479

Panel | HTMLInfo | null

void

Part.toolTip


get tooltipVisible(): boolean

Defined in: parts/Part.ts:497

Whether the tooltip is currently visible.

boolean

set tooltipVisible(value): void

Defined in: parts/Part.ts:501

boolean

void

Part.tooltipVisible


get toPort(): object

Defined in: parts/Link.ts:188

object

x: number

y: number

set toPort(value): void

Defined in: parts/Link.ts:192

number

number

void


get toPortName(): string | undefined

Defined in: parts/Link.ts:206

The name of the target port on the to-node.

string | undefined

set toPortName(value): void

Defined in: parts/Link.ts:210

string | undefined

void


get toShortLength(): number

Defined in: parts/Link.ts:416

GoJS-compatible: The distance from the to-end to the last point.

number

set toShortLength(value): void

Defined in: parts/Link.ts:420

number

void


get toSpot(): Spot | null

Defined in: parts/Link.ts:224

The spot on the to-node where this link connects.

Spot | null

set toSpot(value): void

Defined in: parts/Link.ts:228

Spot | null

void


get treeLinkRoute(): "straight" | "orthogonal" | "angled"

Defined in: parts/Link.ts:398

GoJS-compatible: The routing style for tree links.

"straight" | "orthogonal" | "angled"

set treeLinkRoute(value): void

Defined in: parts/Link.ts:402

"straight" | "orthogonal" | "angled"

void


get visible(): boolean

Defined in: parts/Part.ts:248

boolean

set visible(value): void

Defined in: parts/Part.ts:252

boolean

void

Part.visible


get width(): number

Defined in: parts/Part.ts:144

GoJS-compatible: The width of this part (delegates to its bounds).

number

set width(value): void

Defined in: parts/Part.ts:148

number

void

Part.width


get zOrder(): number

Defined in: parts/Part.ts:304

number

set zOrder(value): void

Defined in: parts/Part.ts:308

number

void

Part.zOrder

addAdornment(name, adornment): void

Defined in: parts/Part.ts:582

Add an adornment to this part.

string

Adornment

void

Part.addAdornment


addBinding(binding): this

Defined in: parts/Part.ts:608

Add a binding to this part.

Binding

this

Part.addBinding


addVisual(element): this

Defined in: parts/Part.ts:551

GoJS-compatible: Add a child element to this part’s visual tree.

GraphObject

this

Part.addVisual


applyBindings(nodeData): number

Defined in: parts/Part.ts:632

Apply all bindings from model data to this part. Returns the number of properties set.

NodeData

number

Part.applyBindings


applyTwoWayBindings(nodeData): number

Defined in: parts/Part.ts:647

Apply TwoWay bindings: write Part properties back to model data.

NodeData

number

Part.applyTwoWayBindings


clearAdornments(): void

Defined in: parts/Part.ts:598

Remove all adornments from this part.

void

Part.clearAdornments


clearBindings(): void

Defined in: parts/Part.ts:622

Remove all bindings from this part.

void

Part.clearBindings


containsPoint(point): boolean

Defined in: parts/Link.ts:564

Check if a point is near the link path.

number

number

boolean

Part.containsPoint


copy(): this

Defined in: parts/Link.ts:497

Deep copy of this link, including endpoint keys and path state.

this

Part.copy


findAdornment(name): Adornment | undefined

Defined in: parts/Part.ts:577

Get a specific adornment by name.

string

Adornment | undefined

Part.findAdornment


findAdornmentNamed(name): Adornment | null

Defined in: parts/Part.ts:588

GoJS-compatible: Find an adornment by name, or null if not present.

string

Adornment | null

Part.findAdornmentNamed


findBinding(targetProperty): Binding | undefined

Defined in: parts/Part.ts:627

Find a binding targeting a specific property.

string

Binding | undefined

Part.findBinding


findDiagram(): Diagram | null

Defined in: parts/Part.ts:453

GoJS-compatible: Find the diagram that contains this part.

Diagram | null

Part.findDiagram


findFromNode(): Node | null

Defined in: parts/Link.ts:122

GoJS-compatible: Find the source node of this link (or null).

Node | null


findLayer(): Layer | null

Defined in: parts/Part.ts:458

GoJS-compatible: Find the layer that contains this part.

Layer | null

Part.findLayer


findObject(name): GraphObject | null

Defined in: parts/Part.ts:566

GoJS-compatible: Find a GraphObject by name in this part’s visual tree.

string

GraphObject | null

Part.findObject


findToNode(): Node | null

Defined in: parts/Link.ts:127

GoJS-compatible: Find the destination node of this link (or null).

Node | null


getLabelBounds(): Rect | null

Defined in: parts/Link.ts:248

Approximate screen-space bounds of the rendered label (based on the last routed pathPoints), or null if this link has no label. Used for label-drag hit-testing; the text width is estimated from character count since no canvas context is available here for exact measurement.

Rect | null


removeAdornment(name): boolean

Defined in: parts/Part.ts:593

Remove an adornment from this part.

string

boolean

Part.removeAdornment


removeBinding(binding): boolean

Defined in: parts/Part.ts:614

Remove a binding from this part.

Binding

boolean

Part.removeBinding


removeVisual(element): boolean

Defined in: parts/Part.ts:560

GoJS-compatible: Remove a child element from this part’s visual tree.

GraphObject

boolean

Part.removeVisual


setPathPoints(points): void

Defined in: parts/Link.ts:238

Set the computed path points.

object[]

void


updateBounds(): void

Defined in: parts/Link.ts:535

Update the bounds based on all path points.

void