sameeraroshan / visjs

visjs vaadin addon
Apache License 2.0
10 stars 13 forks source link

Multiply edges #9

Open rafal-software opened 9 years ago

rafal-software commented 9 years ago

I have a problem that some two nodes have many edges - Im adding only one connection. Ive tried using drawConnections() method but the result is the same.

Kind regards!

rafal-software commented 9 years ago

Ive solve the problem by adding id property to Edge class. Additionaly thanks that Im able to get human readable connected nodes by given edge the id value is: from - to. My suggestion is to implement this approach.