Graphora API
Preparing search index...
@graphora/adapter-graphology
GraphologyLike
Interface GraphologyLike<NodeAttributes, EdgeAttributes>
interface
GraphologyLike
<
NodeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
,
EdgeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
,
>
{
forEachEdge
(
callback
:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
sourceAttributes
:
NodeAttributes
,
targetAttributes
:
NodeAttributes
,
undirected
:
boolean
,
)
=>
void
,
)
:
void
;
forEachNode
(
callback
:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
)
=>
void
,
)
:
void
;
}
Type Parameters
NodeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
EdgeAttributes
extends
GraphologyAttributes
=
GraphologyAttributes
Index
Methods
for
Each
Edge
for
Each
Node
Methods
for
Each
Edge
forEachEdge
(
callback
:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
sourceAttributes
:
NodeAttributes
,
targetAttributes
:
NodeAttributes
,
undirected
:
boolean
,
)
=>
void
,
)
:
void
Parameters
callback
:
(
edgeId
:
GraphId
,
attributes
:
EdgeAttributes
,
sourceId
:
GraphId
,
targetId
:
GraphId
,
sourceAttributes
:
NodeAttributes
,
targetAttributes
:
NodeAttributes
,
undirected
:
boolean
,
)
=>
void
Returns
void
for
Each
Node
forEachNode
(
callback
:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
)
=>
void
,
)
:
void
Parameters
callback
:
(
nodeId
:
GraphId
,
attributes
:
NodeAttributes
)
=>
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
for
Each
Edge
for
Each
Node
Graphora API
Loading...