Hi all!
I'm wondering if could be possible to use the same options that Genie provided us for ordering the nodes (Under layout menu option), to arrange the nodes to use them into our code with Smile.
The reason is that I generate some .xdsl files with networks and after open them in Genie I need to order manually or using that options so could be much easier if I could do something like network.parentOrdering(8) into my code to get the same result and store it on the .xdsl file.
Thank u very much in advance
Nodes ordering
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Nodes ordering
Have a look at DSL_network::SimpleGraphLayout.