ixfx
Preparing search index...
Collections
Graphs
Directed
getOrCreate
Function getOrCreate
getOrCreate
(
graph
:
Readonly
,
id
:
string
,
)
:
Readonly
<
{
graph
:
Readonly
;
vertex
:
Readonly
}
>
Gets a vertex by id, creating it if it does not exist.
Parameters
graph
:
Readonly
id
:
string
Returns
Readonly
<
{
graph
:
Readonly
;
vertex
:
Readonly
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Gets a vertex by id, creating it if it does not exist.