Methods
clearDecorations
- clearDecorations(): void
Returns void
clearSelections
- clearSelections(): Promise<void>
Returns Promise<void>
collapseAll
- collapseAll(): Promise<void>
Returns Promise<void>
onSelectionDidChange
- onSelectionDidChange(listener): void
Parameters
- listener: ((event) => void)
- (event): void
Returns void
Returns void
removeDecoration
- removeDecoration(nodeId): void
Returns void
resetFocus
- resetFocus(transition?): Promise<void>
Parameters
Optional
transition: boolean
Returns Promise<void>
setDecoration
- setDecoration(nodeId, decoration): void
Returns void
setFocus
- setFocus(target, transition?): Promise<void>
Returns Promise<void>
setNetwork
- setNetwork(network): void
Returns void
setSelection
- setSelection(nodeId, option?): Promise<void>
Returns Promise<void>
setSelections
- setSelections(nodeIds, option?): Promise<void>
Returns Promise<void>
Changes the view so that
target
is in the center.