Skip to main content
Version: 4.3

linkRoutingSmooth()

function linkRoutingSmooth(options?): LinkRouting;

Smooth routing: links are drawn as soft bezier curves instead of straight or right-angle segments, for a more organic look.

Returns a LinkRouting bundle for the Paper linkRouting prop.

Parameters

ParameterTypeDescription
optionsLinkRoutingSmoothOptionsoverrides for anchor and connection-point offsets

Returns

LinkRouting

Paper link defaults for smooth routing

Example

import { Paper, linkRoutingSmooth } from '@joint/react';

<Paper linkRouting={linkRoutingSmooth()} />

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub