@dxos/app-graph - v0.16.0
Preparing search index...
AppGraphBuilder
addExtension
Variable addExtension
Const
addExtension
:
{
<
B
extends
Any
>
(
builder
:
B
,
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
,
)
:
B
;
<
B
extends
Any
>
(
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
,
)
:
(
builder
:
B
)
=>
B
;
}
Add extensions to the builder.
Type declaration
<
B
extends
Any
>
(
builder
:
B
,
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
,
)
:
B
Type Parameters
B
extends
Any
Parameters
builder
:
B
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
Returns
B
<
B
extends
Any
>
(
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
,
)
:
(
builder
:
B
)
=>
B
Type Parameters
B
extends
Any
Parameters
extensions
:
Extensions
<
Readonly
<
{
connector
?:
Connector
<
Node
,
Arg
>
;
id
:
string
;
meta
?:
Meta
;
position
?:
Position.Position
;
relation
?:
Rel
;
}
,
>
,
>
Returns
(
builder
:
B
)
=>
B
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/app-graph - v0.16.0
Loading...
Add extensions to the builder.