interactive - if set to false, all interactions with elements and links are disabled. If it's defined as a function, the function is called with the element/link view (the user is about to interact with) as the first parameter followed by the name of the event ('pointerdown', 'pointermove', ...). If the returned value of such a function is false the interaction is disabled for this action. The returned value could be also defined as an object to achieve the fine-grained control over interaction. Here is the list of all properties of the interactive object to disable/enable only certain aspects of interactions. The properties not used within this object are enabled by default.

In the tables bellow there are lists of properties followed by an example with the related property set to false.

Links:

arrowheadMove vertexMove
vertexAdd vertexRemove
labelMove useLinkTools

Elements:

elementMove addLinkFromMagnet

For a comparison the example below has all interactions on the link and on the elements enabled.

property interactive defaults to { labelMove: false }