new epiviz.ui.charts.tree.Node(id, name, children, parentId, size, depth, nchildren, nleaves, selectionType, order, globalDepth, taxonomy)
ui/charts/tree/node.js, line 26
Name | Type | Description |
---|---|---|
id |
string | |
name |
string | |
children |
Array.<epiviz.ui.charts.tree.Node> | |
parentId |
string | |
size |
number | optional |
depth |
number | optional |
nchildren |
number | optional |
nleaves |
number | optional |
selectionType |
epiviz.ui.charts.tree.NodeSelectionType | optional |
order |
number | optional |
globalDepth |
number | optional |
taxonomy |
string | optional |
Extends
Members
-
childrenArray.<epiviz.ui.charts.tree.Node>
-
-
depthnumber
-
-
globalDepthnumber
-
-
idstring
-
-
namestring
-
-
nchildrennumber
-
-
nleavesnumber
-
-
ordernumber
-
-
parentIdstring
-
-
selectionTypeepiviz.ui.charts.tree.NodeSelectionType
-
-
sizenumber
-
-
taxonomystring
-
Methods
-
staticepiviz.ui.charts.tree.Node.bfs(node, callback)
ui/charts/tree/node.js, line 141 -
Name Type Description node
epiviz.ui.charts.tree.Node callback
function A function called for each node in the traversal. If it returns something that evaluates to true, the traversal is halted.
-
staticepiviz.ui.charts.tree.Node.dfs(node, callback)
ui/charts/tree/node.js, line 127 -
Name Type Description node
epiviz.ui.charts.tree.Node callback
function A function called for each node in the traversal. If it returns something that evaluates to true, the traversal is halted.
-
staticepiviz.ui.charts.tree.Node.filter(node, filter)
ui/charts/tree/node.js, line 159Creates a copy of the tree filtering out nodes specified by the filter callback
. -
Creates a copy of the tree filtering out nodes specified by the filter callback
Name Type Description node
epiviz.ui.charts.tree.Node filter
function -
dimensions(){Array.<number>}
ui/charts/tree/node.js, line 114Number of measurements times number of objects stored per measurement
. -
Number of measurements times number of objects stored per measurement
Returns:
Type Description Array.<number> -
inherited getEnd(i, j){number}
ui/charts/vis-object.js, line 47Measurement i, object j
. -
Measurement i, object j
Name Type Description i
number j
number Returns:
Type Description number -
getMetadata(i, j, metadataCol){string}
ui/charts/tree/node.js, line 103Measurement i, object j
. -
Measurement i, object j
Name Type Description i
number j
number metadataCol
string Returns:
Type Description string -
inherited getStart(i, j){number}
ui/charts/vis-object.js, line 39Measurement i, object j
. -
Measurement i, object j
Name Type Description i
number j
number Returns:
Type Description number -
metadataColumns(){Array.<string>}
ui/charts/tree/node.js, line 108 -
Returns:
Type Description Array.<string> -
metadataLooseCompare(){boolean}
ui/charts/tree/node.js, line 119 -
Returns:
Type Description boolean -
inherited overlapsWith(other){boolean}
ui/charts/vis-object.js, line 69 -
Name Type Description other
epiviz.ui.charts.VisObject Returns:
Type Description boolean -
inherited regionEnd(){number}
ui/charts/vis-object.js, line 22 -
Returns:
Type Description number -
inherited regionStart(){number}
ui/charts/vis-object.js, line 17 -
Returns:
Type Description number