pointlinejs
Preparing search index...
pointlinejs
PointlineJS
Class PointlineJS
Index
Constructors
constructor
Methods
add
Child
To
Node
add
Parent
Node
destroy
draw
export
Tree
To
JSON
get
Tree
position
To
Center
Of
Tree
reload
remove
Selected
Node
reset
Actions
update
Seleted
Node
Data
Constructors
constructor
new
PointlineJS
(
chartConfig
:
ChartConfigType
,
poinlineConfig
?:
Partial
<
PointlineJSConfig
>
,
)
:
PointlineJS
Parameters
chartConfig
:
ChartConfigType
poinlineConfig
:
Partial
<
PointlineJSConfig
>
= defaultPointLineJSConfig
Returns
PointlineJS
Methods
add
Child
To
Node
addChildToNode
(
selectedEl
:
HTMLElement
,
nodeStructure
:
Partial
<
NodeInterface
>
,
)
:
Promise
<
Partial
<
NodeInterface
>
>
Parameters
selectedEl
:
HTMLElement
nodeStructure
:
Partial
<
NodeInterface
>
Returns
Promise
<
Partial
<
NodeInterface
>
>
add
Parent
Node
addParentNode
(
selectedEl
:
HTMLElement
,
nodeStructure
:
Partial
<
NodeInterface
>
,
)
:
Promise
<
Partial
<
NodeInterface
>
>
Parameters
selectedEl
:
HTMLElement
nodeStructure
:
Partial
<
NodeInterface
>
Returns
Promise
<
Partial
<
NodeInterface
>
>
destroy
destroy
()
:
void
Returns
void
draw
draw
()
:
Promise
<
void
>
Returns
Promise
<
void
>
export
Tree
To
JSON
exportTreeToJSON
()
:
ChartStructure
Returns
ChartStructure
get
Tree
getTree
()
:
Tree
Returns
Tree
position
To
Center
Of
Tree
positionToCenterOfTree
()
:
void
Returns
void
Description
scroll to center of tree
reload
reload
()
:
void
Returns
void
remove
Selected
Node
removeSelectedNode
(
selectedEl
:
HTMLElement
)
:
Promise
<
Partial
<
NodeInterface
>
>
Parameters
selectedEl
:
HTMLElement
Returns
Promise
<
Partial
<
NodeInterface
>
>
reset
Actions
resetActions
()
:
void
Returns
void
update
Seleted
Node
Data
updateSeletedNodeData
(
data
:
Partial
<
NodeText
>
)
:
Promise
<
Partial
<
NodeInterface
>
>
Parameters
data
:
Partial
<
NodeText
>
Returns
Promise
<
Partial
<
NodeInterface
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Child
To
Node
add
Parent
Node
destroy
draw
export
Tree
To
JSON
get
Tree
position
To
Center
Of
Tree
reload
remove
Selected
Node
reset
Actions
update
Seleted
Node
Data
pointlinejs
Loading...
Description
scroll to center of tree