MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / graphNodesById

Function graphNodesById

deployments/desktop/static/desktop.js:3841–3848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3839 }
3840
3841 function graphNodesById() {
3842 const nodes = uniqueGraphNodes([
3843 ...(state.wikiMap?.nodes || []),
3844 ...(state.wikiGraph?.nodes || []),
3845 ...(state.wikiNodes || [])
3846 ]);
3847 return Object.fromEntries(nodes.map((node) => [graphId(node), node]));
3848 }
3849
3850 function currentGraphEdges() {
3851 return (state.wikiGraph?.edges || []).map(normalizeGraphEdge);

Callers 4

relatedWikiNodesFunction · 0.85
renderWikiRelationsFunction · 0.85
loadWikiFunction · 0.85
bindEventsFunction · 0.85

Calls 2

uniqueGraphNodesFunction · 0.85
graphIdFunction · 0.85

Tested by

no test coverage detected