Documentation
Preparing search index...
@luolapeikko/graph-entity-types
GraphStructure
Type Alias GraphStructure<AnyEntity>
GraphStructure
:
AnyEntity
extends
IGraphBaseEntityNode
<
infer
Id
,
infer
Type
,
infer
Props
,
>
?
{
id
:
Id
;
props
:
Props
;
sources
?:
GraphStructure
<
AnyEntity
>
[]
;
targets
?:
GraphStructure
<
AnyEntity
>
[]
;
type
:
Type
;
}
:
never
Hierarchy structure of a node in the graph.
Type Parameters
AnyEntity
extends
IGraphBaseEntityNode
<
string
,
number
,
Record
<
string
,
unknown
>
>
The type of the any nodes in the graph.
Since
v0.0.2
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Hierarchy structure of a node in the graph.