@stoplight/graphite
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Source
Node
constructor
category
children
data
disposables
id
incoming
Edges
outgoing
Edges
type
language
parent
parent
Id
path
spec
uri
dehydrate
dispose
get
Ancestor
remove
Edges
Hierarchy
BaseNode
<
Optional
<
ISourceNodeInstance
>
,
NodeInstance
>
SourceNode
Implements
IBaseNodeInstance
<
Optional
<
ISourceNodeInstance
>
,
NodeInstance
>
ISourceNodeInstance
ISelectableNode
Index
Constructors
constructor
Properties
category
children
data
disposables
id
incoming
Edges
outgoing
Edges
type
Accessors
language
parent
parent
Id
path
spec
uri
Methods
dehydrate
dispose
get
Ancestor
remove
Edges
Constructors
constructor
new
Source
Node
(
props
:
Omit
<
ISourceNode
,
"category"
|
"data"
>
&
object
, parent
?:
ISourceNodeInstance
)
:
SourceNode
Parameters
props:
Omit
<
ISourceNode
,
"category"
|
"data"
>
&
object
Optional
parent:
ISourceNodeInstance
Returns
SourceNode
Properties
category
category
:
Source
= NodeCategory.Source
children
children
:
NodeInstance
[]
= []
data
data
:
SourceNodeData
= new SourceNodeData()
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
:
spec
spec
:
uri
uri
:
Methods
dehydrate
dehydrate
(
)
:
object
Lifecycle
Returns
object
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
Lifecycle