Crainiate Community

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

Docking Lines?

Last post 07-25-2007 7:43 PM by James Westgate. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-24-2007 9:46 PM

    Docking Lines?

    I can't find the information I'm looking for and it may be because I do not know the 'term' to search for.  But basically I want to make sure all lines connecting to a shape are docked to the top of the shape and all shapes that have lines going out have all lines going out the bottom.  I'm doing a 'hierarchy' layout and sometimes the lines come out the sides when I want them to go out the bottom.

     Thanks, -jv

    • 63.239.234.201
  • 07-25-2007 7:19 AM In reply to

    Re: Docking Lines?

    You can add a port at the top and the bottom of each shape and connect the lines to them instead of the shapes themselves.
    Filed under:
    • 83.3.189.82
  • 07-25-2007 1:58 PM In reply to

    Re: Docking Lines?

    When I programmatically remove the shapes and connections, do I also have to make sure to remove the ports?

     

    Thanks, -jv

    • 63.239.234.201
  • 07-25-2007 2:41 PM In reply to

    Re: Docking Lines?

    If I had to guess I would say no, because there is a Ports collection in the Shape class, so I think it is removed with the shape itself (or at least it should in my opinion), but I'm cannot guarantee that. You better wait for response from the support or check it out yourself (remember the reference to any valid port, remove the shape, the port was assigned to and see if the remembered reference is still valid).
    • 83.3.189.82
  • 07-25-2007 7:43 PM In reply to

    Re: Docking Lines?

    You should be able to remove the shape and the ports will be removed from memory as well, unless you retain a reference to them elsewhere in your code.

    Filed under:
    • 86.155.94.155
Page 1 of 1 (5 items)