@joint/react
    Preparing search index...

    Interface ConnectionStrategyOptions

    Options for the connectionStrategy prop of <Paper>: pick how a dropped link end is pinned and, optionally, post-process the resulting end definition.

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

    // Pin dropped ends at a relative (%) offset of their target.
    <GraphProvider>
    <Paper connectionStrategy={{ pin: 'relative' }} renderElement={() => <rect width={80} height={40} />} />
    </GraphProvider>;
    interface ConnectionStrategyOptions {
        customize?: ConnectionStrategy;
        pin?: ConnectionStrategyPin;
    }
    Index

    Properties

    Properties

    customize?: ConnectionStrategy

    Runs after pinning; receives the already-pinned end (or the original when pin is 'none') and returns the final end definition.

    How to anchor the dropped end, see ConnectionStrategyPin.

    'none'