LibreOffice Logo

Draw Guide 7.6

Chapter 8, Connections, Flowcharts, and Organization Charts

Copyright

This document is Copyright © 2023 by the LibreOffice Documentation Team. Contributors are listed below. This document maybe distributed and/or modified under the terms of either the GNU General Public License (https://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), version 4.0 or later. All trademarks within this guide belong to their legitimate owners.

Contributors

Contributors for this edition:

Peter Schofield

Contributors for previous editions:

Claire Wood

Jean Hollis Weber

John A Smith

John Cleland

Kees Kriek

Martin Fox

Peter Schofield

Regina Henschel

Feedback

Please direct any comments or suggestions about this document to the Documentation Team mailing list: loguides@community.documentfoundation.org.

Note

Everything sent to a mailing list, including email addresses and any other personal information that is written in the message, is publicly archived and cannot be deleted.

Publication date and software version

Published November 2023. Based on LibreOffice 7.6 Community.Other versions of LibreOffice may differ in appearance and functionality.

Using LibreOffice on macOS

Some keystrokes and menu items are different on macOS from those used in Windows and Linux. The table below gives some common substitutions used in this document. For a detailed list, see LibreOffice Help.

Windows or Linux

macOS equivalent

Effect

Tools > Options

LibreOffice > Preferences

Access setup options

Right-click

Control+click, Ctrl+click, or right-click depending on computer setup

Open a context menu

Ctrl or Control

⌘ and/or Cmd or Command, depending on keyboard

Used with other keys

Alt

⌥ and/or Alt or Option depending on keyboard

Used with other keys

F11

+T

Open the Styles deck in the Sidebar

Connectors and gluepoints

Connectors are lines or arrows whose ends automatically dock to a connection or gluepoint on the border of an object. Connectors use connecting lines between objects and these connecting lines remain connected to objects, even when objects are moved or rearranged. Also, when an object with a connector attached is moved or resized, the connector automatically adjusts its shape to accommodate the changes. For example, when creating a flowchart, or an organization chart, using connectors instead of simple lines removes the need to redraw lines between objects when making changes to a chart.

When a connector is drawn or selected, the selection handles are different to the normal selection handles used on lines or objects. The termination points of a connector are round at the start and end points of a connector, and square in the center of the lines that make up a connector, as shown by the example of a straight connector in Figure 1. The square selection handles on the selected connector are used to change the routing of a connector.

Connectors

Draw has a comprehensive selection of connectors, for example, when used in a flowchart or organization chart. The default set of connectors can be accessed using one of the following methods:

Connectors sub-toolbar

If necessary, the connectors on the Drawing toolbar can be displayed as a Connectors sub‑toolbar as follows:

1)  Click on the triangle ▼ on the right of Connectors on the Drawing toolbar to open a pop‑up toolbar.

2)  Click on the line at the top of the pop-up toolbar and drag it on to the Workspace.

3)  Release the cursor to create the Connectors sub‑toolbar (Figure 2).

Figure 1: Example of connectors between objects

Example of connectors between objects
Straight connector with arrows
Curved connector with arrows

  1. Straight connector with arrows

  2. Curved connector with arrows

Connector type groups

Connectors are grouped into four main groups as follows:

Standard

Standard connectors start with Connector. Line segments run vertically and horizontally. Creates a connector with one or more 90 degree angle bends.

Line

Line connectors start with Line. Consists of a line segment with two smaller segments at the ends and draws a connector that bends near a gluepoint. To adjust the length of the line segment between a bend point and a gluepoint, click on the connector and drag the bend point.

Straight

Straight connectors start with Straight. Consists of a single line and draws a straight line connector.

Curved

Curved connectors start with Curved. Based on Bézier curves, a curved connector is drawn and bends around objects.

Connector types

The full range of available connectors are accessed by clicking on the triangle ▼ on the right of the Connectors sub‑toolbar and selecting Visible Buttons from the context menu. Depending on the computer system being used, connectors already installed on the Connectors sub‑toolbar are indicated either by a check mark against the name, or the connector icon is highlighted.

Figure 2: Connectors sub-toolbar

Connectors sub-toolbar

Connectors are installed on the Connectors sub-toolbar in the same order that they appear in the Visible Buttons drop-down list. The connector types are numbered from left to right when installed on the Connectors sub‑toolbar.

1)  Connector Ends with Arrow

2)  Straight Connector Ends with Arrow

3)  Curved Connector Ends with Arrow

4)  Line Connector Ends with Arrow

5)  Connector

6)  Straight Connector

7)  Curved Connector

8)  Line Connector

9)  Connector Starts with Arrow

10)  Straight Connector starts with Arrow

11)  Curved Connector Starts with Arrow

12)  Line Connector Starts Arrow

13)  Connector Ends with Circle

14)  Straight Connector Ends with Circle

15)  Curved Connector Ends with Circle

16)  Line Connector Ends with Circle

17)  Connector Starts with Circle

18)  Straight Connector starts with Circle

19)  Curved Connector Starts with Circle

20)  Line Connector Starts with Circle

21)  Connector with Circles

22)  Straight Connector with Circle

23)  Curved Connector with Circle

24)  Line Connector with Circle

Adding connectors to objects

1)  Click on the triangle ▼ on the right of Connectors on the Drawing toolbar to open the options available for selecting connectors.

2)  Select the type of connector required and move the cursor onto the first object. When the cursor is over the first object, small crosses appear as gluepoints around the object edges replacing the object selection handles as shown in Figure 3.

3)  Position the cursor over a gluepoint, then click and drag the cursor toward another object to start creating a connector. When the cursor reaches the target object, small crosses appear indicating the gluepoints around the object edges, as shown in Figure 3.

4)  Move the cursor over the required gluepoint on the target object and release the connector to draw the connector. The round selection handles at each end of the connector are attached to the gluepoints on each object.

Figure 3: Example of object gluepoints

Example of object gluepoints

5)  If necessary, use the square control points that appear on the connector to adjust the path of the connector so that it does not cover any other object in its path. See “Modifying connectors” for more information.

Notes

The start and end round selection handles of a connector cannot be swapped. To change the start and end points of a connector, the connector has to be deleted and a new connector drawn in the opposite direction.

The end point of a connector can also be positioned in an empty part of a drawing where it is locked into place. This end point can then be moved and attached to an object when necessary.

Modifying connectors

Connectors can be modified using one of the following methods:

The options available in the Connector dialog are as follows:

Type

Select the connector type group from the drop-down list. See “Connector type groups” for more information.

Line skew

Defines the skew of a connector line. The dialog preview displays the result of any changes.

Figure 4: Connector dialog

Connector dialog

Line spacing

Sets the spacing around a connector.

Begin horizontal

Enter the amount of horizontal space required at the beginning of a connector.

End horizontal

Enter the amount of horizontal space required at the end of a connector.

Begin vertical

Enter the amount of vertical space required at the beginning of a connector.

End vertical

Enter the amount of vertical space required at the end of a connector

Preview box

Displays a preview of the selected connector and the objects the connector is connected to. The preview changes as changes to the selected connector are made using the Connector dialog. A left click zooms in on the preview and a right-click zooms out.

Gluepoints

Gluepoints are not the same as object selection handles. The selection handles are for moving or changing the shape of an object (see Chapter 3, Working with Objects for more information). Gluepoints are used to fix or glue a connector to an object so that when the object moves, the connector stays fixed to that object

All objects have gluepoints and Figure 3 shows an example of the default gluepoints on an object. Gluepoints are not normally displayed on an object and only become visible when a connector is selected using one of the following methods.

Figure 5: Gluepoints toolbar

Gluepoints toolbar

To add, customize or delete gluepoints, go to View > Toolbars > Gluepoints on the Menu bar to activate the Gluepoints toolbar (Figure 5). This toolbar only becomes visible after using one of the following methods:

Note

Show Gluepoint Functions on the Drawing toolbar is not part of the default set of tools for the Drawing toolbar. To add this tool, right-click in an empty area on the Drawing toolbar and select Visible Buttons > Gluepoints from the context menu.

Gluepoint types

When the Gluepoints toolbar opens, only the five tools on the left of Gluepoint Relative are active. The remaining six tools on the right of the toolbar only become active when Gluepoint Relative is deselected.

Insert Gluepoint

Inserts a gluepoint at the cursor position in an object when the button is clicked.

Exit Direction Left

Connector attaches to the left edge of the selected gluepoint.

Exit Direction Top

Connector attaches to the top edge of the selected gluepoint.

Exit Direction Right

Connector attaches to the right edge of the selected gluepoint.

Exit Direction Bottom

Connector attaches to the bottom edge of the selected gluepoint.

Gluepoint Relative

When selected, the gluepoint moves when an object is resized maintaining its position relative to the object borders. When deselected, a gluepoint can be repositioned after the object is resized. This tool is selected by default when the Gluepoint toolbar opens.

The following six tools only become active when Gluepoint Relative is deselected.

Gluepoint Horizontal Left

When an object is resized, the selected gluepoint remains fixed at the left edge of the object.

Gluepoint Horizontal Center

When an object is resized, the selected gluepoint remains fixed at the center of the object.

Gluepoint Horizontal Right

When an object is resized, the selected gluepoint remains fixed at the right edge of the object.

Gluepoint Vertical Top

When an object is resized, the selected gluepoint remains fixed at the top edge of the object.

Gluepoint Vertical Center

When an object is resized, the selected gluepoint remains fixed at the vertical center of the object.

Gluepoint Vertical Bottom

When an object is resized, the selected gluepoint remains fixed at the bottom edge of the object.

Note

Each gluepoint added to an object can have only one horizontal position and one vertical position. Only one of the horizontal position tools and one of the vertical position tools can be selected and used at any one time.

Adding gluepoints

By default, most objects normally have four gluepoints as shown in the example in Figure 3. Additional gluepoints are added to an object as follows:

1)  Go to View > Toolbars > Gluepoints on the Menu bar to activate the Gluepoints toolbar.

2)  Make sure no objects are selected and use one of the following methods to open the Gluepoints toolbar:

3)  Select the object, then click on Insert Gluepoint on the Gluepoints toolbar.

4)  Move the cursor to the required position on the selected object and the cursor changes shape. Normally this is a cross, but the actual shape used depends on the computer setup.

5)  Click once to add a gluepoint. To add more gluepoints, move the cursor to a new position and click.

6)  When finished adding gluepoints, move the cursor off the selected object and click in an empty space to deselect the object.

7)  Alternatively, right-click on a gluepoint previously added to the object and select Insert Gluepoint from the context menu, then click and drag the new gluepoint to the required position.

8)  Select the type of gluepoint required from the options available on the Gluepoints toolbar. See “Gluepoint types” for more information.

Note

When an object has no fill, a gluepoint can only be added to the border of an empty object.

Tip

When adding, moving or customizing gluepoints, it is recommended to use the zoom function making it easier to work with gluepoints. See Chapter 3, Working with Objects for more information. Also, gluepoints can snap to the grid making it easier to position a gluepoint.

Customizing gluepoint exit direction

Customize the exit direction for a gluepoint that has been added to an object as follows:

1)  Go to View > Toolbars > Gluepoints on the Menu bar to activate and open the Gluepoints toolbar.

2)  Double-click on a gluepoint that has been added to an object to select the gluepoint for customization.

3)  Select the required exit direction for a connector attached to the gluepoint using one of the following methods:

Customizing gluepoint positioning

Customize the horizontal and vertical positioning for a gluepoint that has been added to an object as follow:

1)  Go to View > Toolbars > Gluepoints on the Menu bar to activate and open the Gluepoints toolbar.

2)  Double-click on a gluepoint that has been added to an object to select the gluepoint for customization.

3)  Click on Gluepoint Relative on the Gluepoints toolbar to deselect the tool, or right-click on the gluepoint and select Gluepoint Relative from the context menu to deselect the tool.

4)  Select the horizontal and vertical positioning tools required for the gluepoint using one of the following methods. Only one horizontal positioning tool and one vertical positioning tool can be used at any one time:

Note

Only gluepoints that have been added to an object can be customized. The default gluepoints (example shown in Figure 3) included with an object cannot be customized or deleted.

Deleting gluepoints

1)  Select a gluepoint for deletion that has previously been added to the object.

2)  Press the Delete or Backspace key, or go to Edit > Cut on the Menu bar.

Connector text

Text is easily added and formatted to connectors making a flowchart or organization chart easier to follow. See Chapter 9, Adding and Formatting Text for more information on working with and formatting text.

Adding text

1)  Select a connector and the control points become active.

Figure 6: Text Formatting toolbar

Text Formatting toolbar

2)  Enter text mode using one of the following methods. A flashing text cursor appears close to the connector and the Text Formatting toolbar (Figure 6) opens.

3)  Type the required text for the connector.

4)  If necessary, format the connector text. See “Formatting text” for more information on formatting and editing text text.

5)  When adding and formatting text is complete, move the cursor away from the text and connector, then click to end text mode. This also closes the Text Formatting toolbar.

Note

In a default installation of LibreOffice, the Insert Text Box and Insert Vertical Text tools may not be installed on the Drawing toolbar. To add text tools to the Drawing toolbar, right‑click in an empty area in the Drawing toolbar and go to Visible Buttons, then select Text Box and/or Vertical Text from the context menu.

Formatting text

1)  Select a connector with text added and activate the control points to enter text mode. See “Adding text” for more information on adding text to a connector.

2)  Use the tools available on the Text Formatting toolbar, or the options available in Format > Text on the Menu bar to format the text. By default, connector text is formatted with horizontal central alignment and vertical central positioning for the connector text paragraph.

3)  Right-click on the connector text and select Text Attributes from the context menu to open the Text dialog (Figure 7) and format the connector text as to how it appears next to the connector.

4)  Click OK to save the changes to the text and close the Text dialog.

5)  Move the cursor away from text and connector, then click to end the text mode. This also closes the Text Formatting toolbar.

The options available in the Text dialog are as follows:

Drawing Object Text

Fit to frame

Resizes the text to fit the entire area of a connector rectangle or frame.

Adjust to contour

Adapts the text flow so that it matches the contours of the selected connector.

Figure 7: Text dialog — Text page

Text dialog — Text page

Spacing to Borders

Specify the amount of space to leave between the connector and the borders of the text.

Text Anchor

Select one of nine positions to anchor the text within the connector rectangle.

Full width

Anchors the text to the full width of the connector rectangle. When selected, only the top, middle and bottom center positions can be used to anchor the text.

Notes

The options available for text animation are not recommended for connector text unless the drawing is going to be displayed as part of a presentation. See the Impress Guide for more information on text animation.

The options available for text columns are not recommended for connector text. Text columns are normally used for text that is placed into a text box when adding information to a drawing, or into an object such as a rectangle or circle. For more information on text columns, see Chapter 9, Adding and Formatting Text.

Flowcharts

Draw has a floating Flowchart sub‑toolbar (Figure 9) that includes a large selection of flowchart tools to create a flowchart (also known as flow diagrams).

Figure 8: Flowchart sub-toolbar

Flowchart sub-toolbar

The available flowchart shapes on the Flowchart sub-toolbar, from left to right, are as follows:

1)  Flowchart: Process

2)  Flowchart: Alternate Process

3)  Flowchart: Decision

4)  Flowchart: Data

5)  Flowchart: Predefined Process

6)  Flowchart: Internal Storage

7)  Flowchart: Document

8)  Flowchart: Multidocument

9)  Flowchart: Terminator

10)  Flowchart: Preparation

11)  Flowchart: Manual Input

12)  Flowchart: Manual Operation

13)  Flowchart: Connector

14)  Flowchart: Off-page Connector

15)  Flowchart: Card

16)  Flowchart`: Punched Type

17)  Flowchart: Summing Junction

18)  Flowchart: Or

19)  Flowchart: Collate

20)  Flowchart: Sort

21)  Flowchart: Extract

22)  Flowchart: Merge

23)  Flowchart: Stored Data

24)  Flowchart: Delay

25)  Flowchart: Sequential Access

26)  Flowchart: Magnetic Disc

27)  Flowchart: Direct Access Storage

28)  Flowchart: Display

If necessary, create a Flowchart sub-toolbar as follows:

1)  Click on the triangle ▼ to the right of Flowchart on the Drawing toolbar to open a Flowchart pop-up menu.

2)  Click on the line at the top of the Flowchart pop-up menu and drag the pop-up menu into the Workspace.

3)  Release the cursor and the pop-up menu becomes a floating Flowchart sub‑toolbar (Figure 9).

An example flowchart is shown in Figure 10 and the recommended basic steps when creating a flowchart are as follows:

Figure 9: Example flowchart

Example flowchart

Organization charts

Draw does not have a toolbar for organization charts, but these charts are easily created using basic shapes, flowchart shapes, and connectors. Hierarchy in an organization is easily indicated using shading and/or color. When using shading and color in an organization chart, make sure the selection provides a good contrast between the text and the shading or color. This makes the chart easy to read on a computer display or in a printed document. An example of an organization chart is shown in Figure 9.

Figure 10: Example organization chart

Example organization chart

Contents