@stoplight/graphite
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Base
Node
constructor
children
disposables
id
incoming
Edges
outgoing
Edges
type
language
parent
parent
Id
path
uri
dispose
get
Ancestor
remove
Edges
Type parameters
TParent
:
Optional
<
NodeInstance
>
TChildren
:
NodeInstance
Hierarchy
BaseNode
SourceNode
SourceMapNode
VirtualNode
Implements
IBaseNodeInstance
<
TParent
,
TChildren
>
Index
Constructors
constructor
Properties
children
disposables
id
incoming
Edges
outgoing
Edges
type
Accessors
language
parent
parent
Id
path
uri
Methods
dispose
get
Ancestor
remove
Edges
Constructors
constructor
new
Base
Node
(
props
:
IBaseNode
, parent
:
TParent
)
:
BaseNode
Parameters
props:
IBaseNode
parent:
TParent
Returns
BaseNode
Properties
children
children
:
TChildren
[]
= []
disposables
disposables
:
DisposableCollection
= new DisposableCollection()
id
id
:
string
incoming
Edges
incoming
Edges
:
never
[]
= []
outgoing
Edges
outgoing
Edges
:
never
[]
= []
type
type
:
string
Accessors
language
language
:
parent
parent
:
parent
Id
parent
Id
:
path
path
:
uri
uri
:
Methods
dispose
dispose
(
)
:
void
Returns
void
get
Ancestor
get
Ancestor
(
matcher
:
function
)
:
undefined
|
ISourceNodeInstance
<
Object
>
|
ISourceMapNodeInstance
|
IVirtualNodeInstance
|
TParent
Parameters
matcher:
function
(
node
:
Optional
<
NodeInstance
>
)
:
boolean
Parameters
node:
Optional
<
NodeInstance
>
Returns
boolean
Returns
undefined
|
ISourceNodeInstance
<
Object
>
|
ISourceMapNodeInstance
|
IVirtualNodeInstance
|
TParent
remove
Edges
remove
Edges
(
)
:
void
Returns
void