Open MonkeyChap opened 7 years ago
If you start layout and kill it after 5 iterations - you will notice a new file in your data folder. That file is generated by saveIteration() function.
On subsequent restarts, the module looks into the data folder and finds file with the largest number. It uses that file to initialize positions. You can use the same approach - before running the layout, generate a file in the data folder with your initial positions, and the layouter will pick it up
Thanks !
I probably need something a bit more controllable than that. Would it be OK to join the project and make some additions to the code ?
Ian
Sure! Please feel free to modify it as you wish and send me a pull request.
Hi,
Thanks for putting this library together, it's very useful.
I'd like to be able to pass in some approximate starting positions (3D or 2D) for each node, but I can't see a way to do it. Is this possible ?
I think it's possible with your C++ version, but that's probably a bit heavy duty for my purposes.
Thanks