graph-toolkit
Preparing search index...
normalize/src
relabel
Function relabel
relabel
(
graph
:
Graph
,
rename
:
(
id
:
VertexId
)
=>
VertexId
)
:
Graph
Applies
rename
to every vertex id. Throws
GraphError
if two ids collide.
Parameters
graph
:
Graph
rename
:
(
id
:
VertexId
)
=>
VertexId
Returns
Graph
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
graph-toolkit
Loading...
Applies
renameto every vertex id. Throws GraphError if two ids collide.