GoDrawGoDraw

Line

Stable

Straight, bent, or curved. Your call.

Draw two-point or multi-point lines with optional angle snapping and curve smoothing, and close them into filled polygons.

What it does

The line tool draws connectors and outlines. It has two draw modes (two-point for a single segment, or multi-point for a polyline you build click by click), plus an angle-snap mode and, for polylines, a path shape that chooses between straight corners and smooth curves. Close a multi-point line back onto its start and it becomes a fillable polygon.

A straight line, a multi-point sharp line, and a smooth curved line
Two-point, multi-point sharp, and multi-point curve
1

Select the tool

Press L or 5, or pick the line from the toolbar.

2

Place points

Click and drag for one segment, or in multi-point mode click each node and double-click to finish.

3

Close it (optional)

In multi-point mode, click near the first node to enclose the path into a filled polygon.

Draw modes

The Draw Mode control switches between two and multi.

  • Two-point: click a start, click an end (or click and drag). One straight segment, committed immediately.
  • Multi-point: click to drop each node in sequence. Double-click (or double-tap on touch) to finish. An open path needs at least two nodes.
A two-point line beside a multi-point polyline with visible nodes
Two-point single segment vs. a multi-point polyline

Angle snapping

The Line Mode control constrains the angle of each segment as you draw. The default is free.

ValueLabelBehavior
freeFreeAny angle, no snapping
diagonalDiagonalSnaps to the nearest 45° increment
orthogonalOrthogonalSnaps to the nearest 90° (horizontal/vertical)
The same drag producing a free angle, a 45-degree diagonal, and a horizontal orthogonal line
Free, diagonal (45°), and orthogonal (90°) snapping

Note

"Free" means no angle snap: point-to-point at any angle. It is not freehand sketching; for that, use the draw/sketch tool.

Path shape (multi-point)

When Draw Mode is multi-point, the Path Shape control appears with two options:

  • Sharp: straight segments and hard corners between nodes (the default).
  • Curve: a Catmull-Rom spline that flows smoothly through every node, the same smoothing the curved arrow uses.
The same set of nodes rendered as sharp corners and as a smooth curve
Sharp corners vs. a Catmull-Rom curve through the same nodes

Closing into a polygon

In multi-point mode, once you have at least three nodes the first node lights up with a ring whenever your cursor comes within snapping range of it. Click there (or double-click near it) to close the loop. The path joins start to end and becomes a true polygon.

A polyline closing onto its first node and filling with color
Snap onto the first node to close and fill the shape

Only closed polygons carry fill: closing one unlocks background color, fill style, hachure gap, and fill weight in the style panel. Closing works with both Path Shapes: a closed sharp path is a straight-edged polygon, a closed curve path is a smooth blob.

Tip

Lines support stroke color, width, dashed/dotted styles, opacity, and sloppiness (perfect, rough, very rough). Curved and closed paths are rebuilt from the same node list every render, so previews match the committed result exactly.

Coming soon

  • Per-segment dashed flow animation
  • Reusable line style presets
Was this helpful?