Nodes ordering

The engine.
Post Reply
kile
Posts: 19
Joined: Sat Apr 25, 2009 3:36 pm

Nodes ordering

Post by kile »

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
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Nodes ordering

Post by shooltz[BayesFusion] »

Have a look at DSL_network::SimpleGraphLayout.
kile
Posts: 19
Joined: Sat Apr 25, 2009 3:36 pm

Post by kile »

shooltz thank u very much, it works just great ;)
Post Reply