Graphora API
Preparing search index...
@graphora/adapter-graphology
GraphologyAdapterOptions
Interface GraphologyAdapterOptions<NodeAttributes, EdgeAttributes, NodeData, EdgeData>
interface
GraphologyAdapterOptions
<
NodeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
,
EdgeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
,
NodeData
=
NodeAttributes
,
EdgeData
=
EdgeAttributes
,
>
{
getEdgeLabel
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
)
=>
string
|
undefined
;
getNodeLabel
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
string
|
undefined
;
getNodePosition
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
Point
|
null
|
undefined
;
mapEdgeAttributes
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
)
=>
GraphAttributes
|
undefined
;
mapEdgeData
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
)
=>
EdgeData
|
undefined
;
mapNodeAttributes
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
GraphAttributes
|
undefined
;
mapNodeData
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
NodeData
|
undefined
;
}
Type Parameters
NodeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
EdgeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
NodeData
=
NodeAttributes
EdgeData
=
EdgeAttributes
Index
Properties
get
Edge
Label?
get
Node
Label?
get
Node
Position?
map
Edge
Attributes?
map
Edge
Data?
map
Node
Attributes?
map
Node
Data?
Properties
Optional
Readonly
get
Edge
Label
getEdgeLabel
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
)
=>
string
|
undefined
Optional
Readonly
get
Node
Label
getNodeLabel
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
string
|
undefined
Optional
Readonly
get
Node
Position
getNodePosition
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
Point
|
null
|
undefined
Optional
Readonly
map
Edge
Attributes
mapEdgeAttributes
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
)
=>
GraphAttributes
|
undefined
Optional
Readonly
map
Edge
Data
mapEdgeData
?:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
)
=>
EdgeData
|
undefined
Optional
Readonly
map
Node
Attributes
mapNodeAttributes
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
GraphAttributes
|
undefined
Optional
Readonly
map
Node
Data
mapNodeData
?:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
,
)
=>
NodeData
|
undefined
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Edge
Label
get
Node
Label
get
Node
Position
map
Edge
Attributes
map
Edge
Data
map
Node
Attributes
map
Node
Data
Graphora API
Loading...