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

Path Animation with multiple start tokens

$
0
0

@akashjan4 wrote:

I’m working on Path Animation, I have defined Start and End nodes of my graph and customize the code to traverse, it works very well with single token, but when I want multiple start tokens(which get added on button click) to work without affecting each other’s token.data value (like data.next, frac,etc).

I tried creating copy of parts data and used it to iterate but result were more or less same, I assume that if I can create the deep copy of GraphObject every time I click button to create new token I can run multiples tokens from “START” to “END” node without affecting each other’s data.

Please suggest .

Using gojs 2.0 with Typescript
Link Refered : Path Animation

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles