32

If I create two rectangles and then use a connector to link between them, the only choice is between the middle point on the four sides.

I need to be able to create extra connection points at arbitrary locations, but there is no obvious way to do this?

(Ideally I want to do this for all shapes, not just rectangles, but a solution just for rectangles would work for the majority of cases.)


UPDATE:
Although I've now found an answer it would still be useful to know if there's a way to pre-configure shapes to have additional glue points (e.g. update rectangle to have three on each side instead of just one).

2
  • 1
    Also, given the huge number of LO Draw questions here, can anyone recommend another place to ask this question? Apr 27, 2012 at 18:24
  • there is SE dedicated to Computer Graphics
    – jena
    Jan 20, 2017 at 10:56

3 Answers 3

31

Ok, apparently the key term is "glue points".

There is a button on the Drawing toolbar which allows them to be added to a shape.

However, the actual documentation on this feature appears to be very slim: https://help.libreoffice.org/latest/en-US/text/sdraw/main0210.html#par_idN106C8

So, here is (an enlarged version of) the icon:

gluepoints icon

(If this does not appear on your toolbar, you need to customise it it (right click > customise toolbar > select "Drawing" from "Toolbar" drop-down, then scroll down "Commands" until you see "Glue points" and tick the appropriate checkbox.)

Once you have selected glue points, you will get a new "Glue Points" toolbar appear. The first button on this toolbar is for adding them - select any shape, press this button, then click the shape to place a point. Select and drag to move a point.

You can place glue points inside a shape (not just at the borders).

For non-rectangular shapes, you can place them outside the shape so long as that place is within the rectangular bounding box of the shape (marked by where the eight handles are). Attempting to placing outside this area will snap to the edge of the box.

To remove a glue point, ensure the glue point button is pressed (so toolbar is showing), but the insert glue point button (first on toolbar) is not pressed in, and then you can select a glue point (either click on, or click and drag for multiple) and press delete key. You can only delete glue points you have added (i.e. built-in ones cannot be removed in this way).

The next four buttons on the toolbar indicate which direction the connector can leave from. The buttons can be selected in combination. If you select "left" on a right-edge placed point, the connector stretches across the entire width of the shape.

The remaining buttons control how the glue point is positioned when the shape is resized - details here: https://help.libreoffice.org/latest/en-US/text/simpress/02/10030200.html


Update by atsag for newer LibreOffice versions:

Please enable the Glue Points Toolbar (View -> Toolbars -> Glue Points). Then, press the glue pistol icon (which is the left-most) - this reveals some icons on the right. The one with the '+' sign is the appropriate icon to click in order to add a glue point.

Updated image showing the new icons

2
  • You can't do multiple glue points on groups.
    – mghaoui
    Feb 15, 2017 at 10:35
  • Note that LibreOffice Draw 5 has a bug with being unable to move/delete glue points. I had to downgrade to version 4 to get that working. Dec 7, 2017 at 2:35
2

With LibreOffice Draw 6.1.5.2 it seems that the Glue points toolbar can be evoked from two different places:

  1. Edit -> Glue points
  2. View -> Toolbars -> Glue points

However, it seems that the option 2) through the View menu does not actually work. I'm only able to add gluepoints when I bring up the Glue points toolbar via the Edit menu.

0

With High Sierra OS X and LibreOffice 5.4.2.2 the only way I've found to remove a custom glue point is:

  • enable glue point tool bar
  • select object with the glue points (this goes against the current docs)
  • click and drag over the area with the points you want to delete
  • delete em

Doesn't seem to matter if "insert glue points" is enabled or not.

1
  • 2
    This might be useful for somebody, but it doesn’t really seem to answer this question, which is asking how to add ‘‘glue points’’. Jan 28, 2018 at 19:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .