Crainiate Community

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

Diagram Center Aligned Issue

Last post 11-08-2007 1:00 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-07-2007 5:53 PM

    Diagram Center Aligned Issue

    After I load up my diagram and perform the heirarchy layout I've added code to move everything to the center.  I calculate the momement vector and then apply it to all shapes and line segments.  The only problem is my line segments get all messed up.  I assume it is because when the shape moves all of the line segments change anyhow.

     So my next try I simply ignored the lines and moved the shapes.  The problem is the lines still do not come out correctly.  Can someone please help me?  I'm using connectors as my lines.

     Here are before/after screens to help you understand:

    http://www.visionaryonline.com/before.png

    http://www.visionaryonline.com/after.png

    Thanks,

    -jv

    • 63.239.234.201
  • 11-08-2007 1:00 PM In reply to

    Re: Diagram Center Aligned Issue

    Once the layout for the shapes has been calculated, the paths for the connectors need to be recalculated as well.

    You can do this using the Connector.Route method.

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