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

Function setWikiView

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

Source from the content-addressed store, hash-verified

4024 }))
4025 ];
4026
4027 return {
4028 nodes: mapNodes,
4029 edges: mapEdges,
4030 sourceNodes,
4031 sourceEdges,
4032 byId: Object.fromEntries(mapNodes.map((node) => [node.id, node]))
4033 };
4034 }
4035
4036 function layoutGraph(nodes, edges) {
4037 const sourceNodes = uniqueGraphNodes((nodes || []).filter((node) => graphId(node).trim()));
4038 const sourceNodeIds = new Set(sourceNodes.map((node) => graphId(node)));
4039 const sourceEdges = (edges || [])

Callers 1

bindEventsFunction · 0.85

Calls 2

renderWikiListFunction · 0.85
renderWikiGraphFunction · 0.85

Tested by

no test coverage detected