Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How to Start Linking via LinkingTool Correctly?

$
0
0

@zhi wrote:

When I tried the following code stated in docs:

  var tool = myDiagram.toolManager.linkingTool;
  tool.startObject = ...;
  myDiagram.currentTool = tool;
  tool.doActivate();

It’s correct to start the tool the first time. In the subsequent action, starting the tool to make another link from another port, it still uses the the previously selected port.

Is there any configuration missing?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles