Path# Path

new Path(options)

Creates an instance of Path.
Parameters:
NameTypeDescription
optionsObjectThe options object.
Properties
NameTypeDescription
nodeObject原始数据节点.
parentPath父path.
indexnumber同级相对索引.
prevSiblingPath前一个兄弟path.
nextSiblingPath后一个兄弟path.
childrenArray.<Path>子级path.