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

Function wikiEvidenceMeta

deployments/desktop/static/desktop.js:4038–4043  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

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 || [])
4040 .map(normalizeGraphEdge)
4041 .filter((edge) => sourceNodeIds.has(edge.src_id) && sourceNodeIds.has(edge.dst_id));
4042 const degree = graphDegreeMap(sourceNodes, sourceEdges);
4043 const groups = {
4044 topic: { x: 26, y: 31, nodes: [] },
4045 paper: { x: 42, y: 64, nodes: [] },
4046 method: { x: 70, y: 58, nodes: [] },

Callers 1

renderWikiResultNodesFunction · 0.85

Calls 3

graphTypeLabelFunction · 0.85
normalizeScoreFunction · 0.85
localizeWikiTextFunction · 0.85

Tested by

no test coverage detected