Class ParallelRouteLink

GoJS® Diagramming Components
version 3.0.16
by Northwoods Software®

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.

Hierarchy (view full)

  • Link
    • ParallelRouteLink

This custom go.Link class customizes its route to go parallel to other links connecting the same ports, if the link is not orthogonal and is not Bezier curved.

If you want to experiment with this extension, try the Parallel Route Links sample.

Index

Constructors

Methods

Accessors

GraphObject.actionCancel GraphObject.actionDown GraphObject.actionMove GraphObject.actionUp GraphObject.actualBounds GraphObject.alignment GraphObject.alignmentFocus GraphObject.angle GraphObject.background GraphObject.click GraphObject.column GraphObject.columnSpan GraphObject.contextClick GraphObject.contextMenu GraphObject.cursor GraphObject.desiredSize GraphObject.doubleClick GraphObject.enabledChanged GraphObject.fromLinkable GraphObject.fromLinkableDuplicates GraphObject.fromLinkableSelfNode GraphObject.fromMaxLinks GraphObject.height GraphObject.isActionable GraphObject.isPanelMain GraphObject.margin GraphObject.maxSize GraphObject.measuredBounds GraphObject.minSize GraphObject.mouseDragEnter GraphObject.mouseDragLeave GraphObject.mouseDrop GraphObject.mouseEnter GraphObject.mouseHold GraphObject.mouseHover GraphObject.mouseLeave GraphObject.mouseOver GraphObject.name GraphObject.naturalBounds GraphObject.opacity GraphObject.panel GraphObject.part GraphObject.pickable GraphObject.portId GraphObject.position GraphObject.row GraphObject.rowSpan GraphObject.scale GraphObject.segmentFraction GraphObject.segmentIndex GraphObject.segmentOffset GraphObject.segmentOrientation GraphObject.shadowVisible GraphObject.stretch GraphObject.toLinkable GraphObject.toLinkableDuplicates GraphObject.toLinkableSelfNode GraphObject.toMaxLinks GraphObject.toolTip GraphObject.visible GraphObject.width Link.adjusting Link.corner Link.curve Link.curviness Link.fromEndSegmentLength Link.fromNode Link.fromPort Link.fromPortChanged Link.fromPortId Link.fromShortLength Link.fromSpot Link.geometry Link.isLabeledLink Link.isOrthogonal Link.isTreeLink Link.key Link.labelNodes Link.midAngle Link.midPoint Link.path Link.points Link.pointsCount Link.relinkableFrom Link.relinkableTo Link.resegmentable Link.routeBounds Link.routing Link.smoothness Link.toEndSegmentLength Link.toNode Link.toPort Link.toPortChanged Link.toPortId Link.toShortLength Link.toSpot Panel.alignmentFocusName Panel.columnCount Panel.columnSizing Panel.data Panel.defaultAlignment Panel.defaultColumnSeparatorDashArray Panel.defaultColumnSeparatorStroke Panel.defaultColumnSeparatorStrokeWidth Panel.defaultRowSeparatorDashArray Panel.defaultRowSeparatorStroke Panel.defaultRowSeparatorStrokeWidth Panel.defaultSeparatorPadding Panel.defaultStretch Panel.elements Panel.graduatedMax Panel.graduatedMin Panel.graduatedRange Panel.graduatedTickBase Panel.graduatedTickUnit Panel.gridCellSize Panel.gridOrigin Panel.isClipping Panel.isEnabled Panel.isOpposite Panel.itemArray Panel.itemCategoryProperty Panel.itemIndex Panel.itemTemplate Panel.itemTemplateMap Panel.leftIndex Panel.padding Panel.rowCount Panel.rowSizing Panel.topIndex Panel.type Panel.viewboxStretch Part.adornments Part.category Part.containingGroup Part.containingGroupChanged Part.copyable Part.deletable Part.diagram Part.dragComputation Part.groupable Part.highlightedChanged Part.isAnimated Part.isHighlighted Part.isInDocumentBounds Part.isLayoutPositioned Part.isSelected Part.isShadowed Part.isTopLevel Part.layer Part.layerChanged Part.layerName Part.layoutConditions Part.location Part.locationObject Part.locationObjectName Part.locationSpot Part.maxLocation Part.minLocation Part.movable Part.reshapable Part.resizable Part.resizeAdornmentTemplate Part.resizeCellSize Part.resizeObject Part.resizeObjectName Part.rotatable Part.rotateAdornmentTemplate Part.rotateObject Part.rotateObjectName Part.rotationSpot Part.selectable Part.selectionAdorned Part.selectionAdornmentTemplate Part.selectionChanged Part.selectionObject Part.selectionObjectName Part.shadowBlur Part.shadowColor Part.shadowOffset Part.text Part.textEditable Part.zOrder

Methods

GraphObject.apply GraphObject.attach GraphObject.bind GraphObject.bindModel GraphObject.bindObject GraphObject.bindTwoWay GraphObject.cloneProtected GraphObject.findBindingPanel GraphObject.getDocumentAngle GraphObject.getDocumentPoint GraphObject.getDocumentScale GraphObject.getLocalPoint GraphObject.isContainedBy GraphObject.isEnabledObject GraphObject.isVisibleObject GraphObject.set GraphObject.setProperties GraphObject.theme GraphObject.themeData GraphObject.themeModel GraphObject.themeObject GraphObject.trigger Link.addPoint Link.canRelinkFrom Link.canRelinkTo Link.clearPoints Link.computeAdjusting Link.computeCurve Link.computeCurviness Link.computeEndSegmentLength Link.computeOtherPoint Link.computeSpacing Link.computeSpot Link.computeThickness Link.findClosestSegment Link.getLinkDirection Link.getLinkPoint Link.getLinkPointFromPoint Link.getOtherNode Link.getOtherPort Link.getPoint Link.hasCurviness Link.insertPoint Link.invalidateRoute Link.makeGeometry Link.move Link.removePoint Link.setPoint Link.updateRoute Panel.add Panel.addColumnDefinition Panel.addRowColumnDefinition Panel.addRowDefinition Panel.copy Panel.copyTemplate Panel.elt Panel.findColumnForLocalX Panel.findItemPanelForData Panel.findMainElement Panel.findObject Panel.findRowForLocalY Panel.getColumnDefinition Panel.getRowDefinition Panel.graduatedPointForValue Panel.graduatedValueForPoint Panel.insertAt Panel.rebuildItemElements Panel.remove Panel.removeAt Panel.removeColumnDefinition Panel.removeRowDefinition Part.addAdornment Part.canCopy Part.canDelete Part.canEdit Part.canGroup Part.canLayout Part.canMove Part.canReshape Part.canResize Part.canRotate Part.canSelect Part.clearAdornments Part.ensureBounds Part.findAdornment Part.findCommonContainingGroup Part.findSubGraphLevel Part.findTopLevelPart Part.getDocumentBounds Part.invalidateLayout Part.isMemberOf Part.isVisible Part.moveTo Part.removeAdornment Part.updateAdornments Part.updateRelationshipsFromData Part.updateTargetBindings

Constructors

Methods

  • Constructs the link's route by modifying points.

    Returns boolean

    true if it computed a route of points