1

I know how to create arrow in Inkscape and add text but I am looking for a way to automate this process.

Ideally, I would like to add directly an arrow with a number in its tail and use a progressive counter for keeping track of the numbers. The output should be something like this:

enter image description here

Is there already an easy hack for this or should I create a Python plugin?

1

I suggested this already in a comment, but added the same now as an answer. The comment is removed.

enter image description here

  1. Have the needed numbers and arrows as a prepared collection.

  2. Drag with the normal selection tool (=F1) one number and arrow at the same time to its place. Let the number land to its final place, drag with the node tool (=F2) the arrow ends to their final places

  3. If some curvature is needed, click a node and drag the handle holding the Shift key at the same time. In complex cases doubleclick the arrow where you want a new node. Simple curves need no new nodes. This case needed only one handle dragging.

You cannot skip a number nor use one twice if you take them from a prepared collection.

A number and an arrow in the collection can be a group, it makes moving them together a little easier, but doesn't affect the node tool.

Arrow stroke widths and arrowheads do not get scaled when the ends are dragged with the node tool. If you need scaling, allow it in the program preferences and drag the approximately right size with the normal selection tool.

Arrows and numbers can be useful to be kept in a new layer. This way they do not get hided accidentally and the unused one can be moved easily. The actual drawing can be locked as whole when you place or move numbers and arrows.

  • Thats an option thanks, I think however it's not so fast copared to drawing the arrow and putting the number manually. Is it possible to link the number to the end of the arrow so it will stick to it? – G M Jul 10 '18 at 7:25
  • @GM test Extension > Generate from path > Pattern along a path. It's available also as path function. Objects must be converted to a path in the path function version, groups are not accepted like in the extension. It can work, but I do not believe it's useful before I see. – user287001 Jul 10 '18 at 8:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.