Jump to content
Search Community

Connecting TransformItems; lines between them for Net Diag.

metamoe test
Moderator Tag

Recommended Posts

I'm new to TransformManager but am very excited about it.

 

I had been working in some other tools like Degrafa to produce Network Diagrams that connect Rounded Rectangle Nodes that can be moved around and have connections drawn between them, and have a few questions I hope someone can give some advice on.

 

network-diagram.jpg

 

I wanted to know if anyone here at Club Greensock has a recommended way to draw the lines on the canvas.

 

The steps I need to reproduce are:

 

1. Click a TransformItem, click a 2nd Transform Item and an Arrow Line is created from the first pointing to the 2nd.

 

2. I would presume I would just create this as a symbol myself (or are there any methods in MatrixTools; I didn't see any?) or draw it somehow before TransformManager draws the transform objects.

 

3. Obviously I need a way to save any node connected to any other note and also restore it.

 

I'm just looking for some general direction here as to where the best place would be to start this is. I'm not as interested in rotating or scaling the TransformItems now, I'm more interested in subclassing them for any node type I need, and creating the ability to create a Directed Graph or Network Diagram, and moving them around while performing the appropriate type of line connection underlying structure.

 

Attached is an example image that shows nodes connected to each other. Once they are connected, you can move a node around and the line is drawn in a bezier/curve fashion, even as your moving it.

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...