Connector: is there any style or option for the end of the connector to point to start of the node? #1136
-
|
When I connect two nodes , the end of the arrow points to the end of the destination node. I can drag the the connector to make it point to the start of the node..but is there some option which can always make the arrow to connect to the beginning of the destination node? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
|
Edit connector properties for the style "default" connector in the style editor. |
Beta Was this translation helpful? Give feedback.
-
|
The way I read the question "Connector: is there any style or option for the end of the connector to point to start of the node?", it is about attachment points. Here's an example To achieve It would be great to have a relevant option in the Connector dialog, e.g. Attachment points:
|
Beta Was this translation helpful? Give feedback.
-
|
this approach works...but in order for this to be applicable on all nodes in the map, should the attribute be added to all the nodes? and is there a quick way to do it? |
Beta Was this translation helpful? Give feedback.
-
|
For future reference: This script creates a Connector and immediately sets the inclination and anchor points, as desired: I set it to be: connectors always leave from the right side of the node and income on the left side of the node. For comparison: While using the default |
Beta Was this translation helpful? Give feedback.







The way I read the question "Connector: is there any style or option for the end of the connector to point to start of the node?", it is about attachment points.
Here's an example
To achieve
(A end) to (beginning C), I created a connector between A and C, with Connector arrows:Draw arrow forward, then I ran the following script on C to change the inclination points, as suggested by Edo:node.connectorsIn.each { it.setInclination([100, 0], [-100, 0]) }It would be great to have a relevant option in the Connector dialog, e.g.
Attachment points:
connector-from-end-to-beginning.xi.mm.zip