Skip to main content
Idea

Connect only specific shapes


Hello, is it possible to allow connections only between certain shapes? For example, allow connections only between target and source rectangles and restrict the connection to the pink rectangle. By restrict, I mean that there should be no connection points on this pink rectangle.

 

Humas1985
Lucid Legend Level 9
Forum|alt.badge.img+21
  • Lucid Legend Level 9
  • April 4, 2025

Hi ​@Darina Kasimova 

You want to explore the 'Enable line Connections' feature to see if it fulfills your needs

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards


Forum|alt.badge.img+2

Hi ​@Humas1985 , thanks for the quick response.

​'Enable line Connections' is a really helpful feature, however it is not what I'm looking for.
With "Enable line Connections" disabled I can't even connect the target and source objects.
Is it possible to set some connection rules or something like that?
The main goal is to connect the target and source objects (they should have connection points) and disable connection between the target and pink objects.


Leianne C
Forum|alt.badge.img+15
  • Lucid support team
  • April 7, 2025

Hi ​@Darina Kasimova, thank you for posting in the community and Humas1985 for helping here! Unfortunately, this isn’t currently supported in Lucid, but we’re very interested in your feedback and committed to continually improving our products.

If you’re willing to share, we’d love to hear more details about your use case or what you’d like to see in this experience within this thread. I’ve also converted this post to an idea so that it’s visible to others within the Product Feedback section of the community - from here, they can upvote it and add details of their own.

Finally, for more information on how Lucid manages feedback via this community, take a look at this post:

Thank you for sharing your ideas and feedback in the community! Please let us know if you have any questions. 


Forum|alt.badge.img+2

Thank you ​@Leianne C .

I'm creating a custom extension for Lucid and trying to find a solution for customizing relationships between custom shapes.

I am thinking of Link points for custom shapes.

Let's say when I start dragging a link from the Target shape, all the connection points or link points are removed from all the custom shapes on the page except the Source shape. So I can connect only these two shapes.

Is it possible to dynamically change the connection points of a custom shape or remove them at all? And is there an event that listens to the start of dragging the link?


Micah
Forum|alt.badge.img+20
  • Lucid community team
  • April 11, 2025

@Darina Kasimova Thanks for this additional detail! I can understand how this could be helpful - you might also be interested in this feature request regarding the creation of custom connection points for shapes:

https://community.lucid.co/ideas/create-custom-connection-points-5813

Currently, it’s not possible do customize or dynamically change them, but we’re glad to have this feedback in our community.