dracula icon indicating copy to clipboard operation
dracula copied to clipboard

constant layout

Open imod opened this issue 13 years ago • 7 comments

Are there any plans to support a constant layout of a grpah? e.g. if I give the same edges/nodes the graph looks the same everytime the API anf features are great, but unfortunately this is currently my showstopper...

imod avatar May 06 '12 07:05 imod

Hi, I have once posted a short article about this on the website. Basically you can just fake Math.random (and later revert it to the original) in order to have predictable results. (written from mobile...) greetings!

----- Ursprüngliche Mitteilung -----

Are there any plans to support a constant layout of a grpah? e.g. if I give the same edges/nodes the graph looks the same everytime the API anf features are great, but unfortunately this is currently my showstopper...


Reply to this email directly or view it on GitHub: https://github.com/strathausen/dracula/issues/10

strathausen avatar May 06 '12 13:05 strathausen

I think this is a good idea, but serialization/snapshots is what we actually need. Then you could pass a graph with the layout described. I am currently working on some improvements, and this would be one of the things I will look at soon. This project will also be a nice demo for Dracula, with ability to connect edges interactively, and using Infobox to contain HTML inside the nodes. (funnily I was going to contribute some code a while ago, and then lost that code... I believe the last time I will ever lose code :))

monomon avatar Apr 09 '13 19:04 monomon

Has any progress been made on this feature. This would be my make or break reason to use this library or write something custom.

nicorikken avatar Nov 28 '16 15:11 nicorikken

Hey, yeah so actually I think it shouldn't be hard to implement. I'll look at it in the coming days...

strathausen avatar Dec 05 '16 16:12 strathausen

Any news about this feature? It's been a 3 months, do you need some help?

MichalLytek avatar Feb 21 '17 12:02 MichalLytek

Also looking for this functionality...

visini avatar Mar 17 '17 11:03 visini

Is this happening anytime soon?

dugajean avatar Jul 07 '17 14:07 dugajean