ReadonlygraphThe graph the cell belongs to. Derived from paper, so it carries the same
caveat; capture the dia.Graph from your own scope if you need it.
ReadonlyinteractionAlways undefined at runtime: JointJS does not pass an interaction name to the
callback. It reads the relevant flag from the value you return instead.
ReadonlymodelThe cell whose interactivity is being resolved.
ReadonlypaperThe cell's paper. JointJS binds the callback to the cell view's options rather
than to the dia.Paper, so this is not guaranteed to be the paper; capture the
dia.Paper from your own scope if you need it.
Context handed to the function form of CellInteractivity. JointJS calls the callback once per cell with that cell, then reads the specific interactivity flag it needs from the value you return. In practice only
modelis reliably populated — see the individual fields.