Optional
autoDefaults to false. If true, and a generator
is supplied,
Optional
generatorOptional function that can be called to fill the selection. You'd use this when you are rendering individual selections and you need to be able to refresh the whole view based on some change in the data model.
Optional
lazyIf true, the selection will not populate itself as soon as it is constructed. Otherwise, and this is the default behaviour, it will.
Optional
modeDefaults to SelectionModes.mixed, meaning any combination of nodes, groups and edges may be present in the selection at a given point in time.
Optional
onOptional. called before the selection is cleared at the beginning of a reload, when a generator
is supplied.
Optional
onOptional function to call when the selection is cleared.
Optional
onOptional. called after a reload when a generator
was supplied.
Options for the behaviour of a selection.