Skip to main content
Version: 4.3

MagnetRefOptions

Options for MarkupApi's magnetRef.

Properties

passive?

readonly optional passive?: boolean;

When true, the magnet is passive: a valid connection target but not a source. When false, it is active and links can also start from it.

Default

false

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub