Options for the connectionStrategy prop of <Paper>: pick how a dropped link
end is pinned and, optionally, post-process the resulting end definition.
Example
import { GraphProvider, Paper } from'@joint/react';
// Pin dropped ends at a relative (%) offset of their target. <GraphProvider> <PaperconnectionStrategy={{ pin:'relative' }}renderElement={() =><rectwidth={80}height={40}/>}/> </GraphProvider>;
Options for the
connectionStrategyprop of<Paper>: pick how a dropped link end is pinned and, optionally, post-process the resulting end definition.Example