Mobile app version of vmapp.org
Login or Join
Megan533

: Inkscape: How to position arrowhead exactly at the end of path? When I add markers to a path in Inkscape (e.g. arrowheads), they do not exactly end at the end of the path. How can I position

@Megan533

Posted in: #Inkscape

When I add markers to a path in Inkscape (e.g. arrowheads), they do not exactly end at the end of the path.
How can I position the arrowhead so that it exactly ends at the end of the path?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan533

3 Comments

Sorted by latest first Latest Oldest Best

 

@Welton168

An alternative to the other options in this thread: you can change the nodes by adding a border. Like so:



The border must be chosen so that it sits at the right distance from the node. Then simply group the node and the border together, and make the border invisible. A connector will now sit at exactly the distance you want it to be.

The disadvantage of this is that the backedges are now also at a distance from the node. This may or may not be a problem for you. If it is, then one way of solving this is creating an "extension marker". Create a horizontal line: and choose "object to marker" in the "object" menu.



Then select this new marker as a start marker for your connectors.

10% popularity Vote Up Vote Down


 

@Hamaas979

The point at which the marker will "graft" onto the path is the center of the defined marker (i.e. 0,0).

You can position it by changing the path definition either globally in the markers.svg (on windows something like c:programsInkscapesharemarkersmarkers.svg), or by chaging the marker defition in the svg itself with the xml editor.

In the image below I have changed the tip of the arrow to be at 0,0.



However it is hard to get the position 100% correct since the stroke of the arrow will add some width.

One problem you might encounter (depending on your "main" path definition, size of marker, width of path, etc.) is that the main path might bleed through the marker (see below)

10% popularity Vote Up Vote Down


 

@Welton168

The path marker functionality in Inkscape is woefully limited. I would suggest creating your arrowhead as a separate path object, from scratch. It's definitely cumbersome for designs that include a large number of arrows, but you will have a lot more control over the size and position of the arrowhead.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme