Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Problem with Hierarchical Layout

Last post 08-06-2007 6:34 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-03-2007 10:42 PM

    Problem with Hierarchical Layout

    sorry my english, i am mexican: 

    Hi, I need the shapes in specific order.

                              A
             a          b      c      d
        1   2   3

    how can i do that? because the Hierarchical Layout algorithm
    order the shapes in like this:

                              A
             b      c       a         d
                        1   2   3

    thanks!, i hope you can help me.

    • 189.140.135.206
  • 08-06-2007 6:34 PM In reply to

    Re: Problem with Hierarchical Layout

    My suggestion is that you use the hierarchical layout to calculate the positions, but do not use the Apply method until you have made your own changes to the Node objects contained in the Nodes collection of the Graph.

    You should swap locations for nodes in the graph. Nodes are added to the Nodes collection using the same key as the shape in the Shapes collection.

    You can retrieve information about child and parent nodes by using the Navigate class.

    Filed under: , ,
    • 86.155.94.155
Page 1 of 1 (2 items)