Is there a way to randomly position all of the dialogs/windows created with jsPlumb?
If I have lots of items which I want to represent in these dialogs, but the issue is I need to place them on the screen by giving them a position, but since there's lots of items it would be a tedious job, not to mention this list of items might grow/shrink.
Looking at the jsPlumb demo, dialogs are given a certain position using "top" and "left" CSS properties:
#window3 { top:2em; left:2em; }
#window4 { top:2em; left:32em; }
Is there a way to place these dialogs on the screen randomly but with a certain distance between them? It would be even better if there was a way to place the dialogs on the screen so there would be minimal crossing between the arrows and the dialogs.
Edit:
Not exactly the best solution, but a pretty nice one:
http://forums.lndb.info/showthread.php?tid=43
https://github.com/lndb/jsPlumb_Liviz.js (two demoes are provided here)