Jump to content
You must now use your email address to sign in [click for more info] ×

How to link circles and lines


Recommended Posts

Hi there,

I am trying to do something, which probably is not possible. I am designing a simple thing with 2 circles and a line which connects both.

Using the snap tool, I have set the line to start and end from the center of the circles. Now, I would like to link the 3 shapes together in a way that when I move a circle, the line stretches and follow the new circle position.

Group and compound do not work for this, because they create a shape which is the result of all shapes in the compound. 

Is this even possible?

Link to comment
Share on other sites

What you want to do may be possible, in certain circumstances, but we need more information.
Can you show us what you have got already and tell us

  1. how the line and circles should be “linked”;
  2. how you want to move the circle;
  3. and what you mean by “follow”?
Link to comment
Share on other sites

17 minutes ago, LunaticMuch said:

Using the snap tool, I have set the line to start and end from the center of the circles. Now, I would like to link the 3 shapes together in a way that when I move a circle, the line stretches and follow the new circle position.

Affinity Designer (assuming that’s what you’re using) doesn’t have connector lines, so unless there’s some clever way to achieve it via the Constraints feature I don’t think it’s possible to have an elastic connection between two shapes.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

29 minutes ago, GarryP said:

What you want to do may be possible, in certain circumstances, but we need more information.
Can you show us what you have got already and tell us

  1. how the line and circles should be “linked”;
  2. how you want to move the circle;
  3. and what you mean by “follow”?

Here the concept, pardon if it's powerpoint. I am making an illustration where I need to design a graph network (many of -). So I need to put say 10 circles, lines that links logically these circle, and then rearrange them. As you see, with the line anchored to the circle, moving a circle cause the line to move. If manually, it is time consuming. 

Is there a way for me to design the graph network and then move arounds the nodes (i.e. circles) causing the line which are linking them to follow?

AA5E9AD6-7579-4053-A03D-3AA775015ADC.png

Link to comment
Share on other sites

Note: This is on Desktop – didn’t realise this was an iPad question – but it should work on either platform (I think).

You can do something basic with Constraints Groups – see attached video and document – but Designer really isn’t the best software to be doing this sort of thing in.

linked-nodes-by-constraints.afdesign

Edited by GarryP
Added extra note.
Link to comment
Share on other sites

For this task I really wondering if Visio is the more capable tool. Even PowerPoint allows to link endpoints of lines to the center point of circles (you may need to add a node there). Just keep the circles arranged above the lines will give you the desired result when rearranging objects.

PS: To add connector points in the middle, as a workaround just add another very small circle and group both circles.

 

Edited by NotMyFault

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

1 hour ago, Alfred said:

Affinity Designer (assuming that’s what you’re using) doesn’t have connector lines, so unless there’s some clever way to achieve it via the Constraints feature I don’t think it’s possible to have an elastic connection between two shapes.

 

46 minutes ago, GarryP said:

You can do something basic with Constraints Groups – see attached video and document – but Designer really isn’t the best software to be doing this sort of thing in.


Thanks, Garry!

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

1 hour ago, NotMyFault said:

For this task I really wondering if Visio is the more capable tool. Even PowerPoint allows to link endpoints of lines to the center point of circles (you may need to add a node there). Just keep the circles arranged above the lines will give you the desired result when rearranging objects.

PS: To add connector points in the middle, as a workaround just add another very small circle and group both circles.

 

Technically yes, it would be easier with Visio or even Powerpoint. I could do there and them embed the result in design and do the rest of the illustration. I can use just pixel instead of vectorial and draw it by hand, but I am very bad with hand free unless it's a whiteboard.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.