Book a Demo

Author Topic: Mind map connectors  (Read 3426 times)

costa2

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-1
    • View Profile
Mind map connectors
« on: June 21, 2018, 07:52:12 am »
Hi,

I created a mind map and I noticed that when I move the topics I created, the connectors are not re-arranged optimally. It is a bit hard to explain in words. Let's say I have Topic 1 above Topic 2 and I connect them with a connector. Everything looks fine. But as soon as I move Topic 2 above Topic 1 the connector moves the connection point with Topic2 properly  (i.e. it is on the bottom edge of Topic 2 rectangle), but the connection with Topic 1 also remains on the bottom edge of Topic 1, so the connector crosses the Topic 1 rectangle. In my minde the connector's connection point with Topic 1 should have been moved to the top edge of Topic 1.

As such, I find myself spending too much time (imo) re-arranging connectors to look pretty. Also the bezier connectors start having these weird shapes instead of becoming shorter.

Is there a way to tell EA to optimize this connectors positioning (i.e. use the shortest path between two topics)?

Thanks

« Last Edit: June 21, 2018, 08:01:39 am by costa2 »

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Mind map connectors
« Reply #1 on: June 21, 2018, 01:29:36 pm »
The shape script for the mind map is horrible.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Mind map connectors
« Reply #2 on: June 21, 2018, 02:17:16 pm »
Nothing to do with shape scripts, it's the nature of Bezier connectors. Bezier connectors have three points: the two end points and a control point that determines how far the line bends (visible if you select the connector). If you select and move both the source and target diagram objects at the same time, all three Bezier points will move by the same amount. If you only move one end, the control point won't move, so the line will bend to a different degree and you will probably need to adjust the control point manually.
The Sparx Team
[email protected]