Appearance
DrillDownOptions
Type: object
Properties
- animates(optional)
booleanWhether to animate the drilldown process. - copyData(optional)
boolean[=true]If true, the data of the open node will be copied into the group replacing it. - nodeGenerator(optional)
function(nodes: NodeList, groupId: string, transformation: Transformation): NodeDataAndAttributesSee nodeGrouping node generator: #types:-nodegroupingoptions. - onGetSubgraph
function(node: Node): Promise<RawGraph>Function that should return a promise that resolves with the subgraph inside the group. - onGroupUpdate(optional)
function(metaNode: Node, subNodes: NodeList, isOpen: boolean): SubLayoutCallback to run a layout over the content of an open group. It should return a promise that resolves when the layout is done, or a Promise containing an array of positions for each node in the group. - padding(optional)
number|function(metaNode: Node, depth: number): numberPadding applied to groups showing their content. If a function is passed, each MetaNode will get a padding depending on that function. - showContents(optional)
function(metaNode: Node, depth: number): boolean | booleanFunction that would define if the contents of the group node should be hidden or not. This is called on every transformation update.