Appearance
NodeCollapsingChainOptions
Type: object
Properties
- animates(optional)
booleanWhether to animate the node collapsing process. - options
- computePaths(optional)
boolean[=true]Whenfalse, no shortest path is computed (much faster on large blobs):context.pathis omitted and the edge direction is picked from the doors' in/out edge counts (A -> B whenout(A) + in(B) >= in(A) + out(B)). Reverse the edge in the generator if needed. - edgeGenerator(optional)
ChainEdgeGeneratorFunction returning the RawEdge(s) to create between each pair of doors of a blob. If no edge generator is specified, a default edge is created. - enabled(optional)
boolean[=true] - mode
'chain'Collapses whole connected groups ("blobs") of hidden nodes into edge(s) between their visible neighbors ("doors"), instead of throwing. - selector
function(node: Node): booleanFunction indicating which nodes will be hidden.
- computePaths(optional)