MCPcopy Create free account
hub / github.com/adobe/Marinus / findLinkedNodes

Function findLinkedNodes

web_server/public/javascripts/cert_graph.js:705–716  ·  view source on GitHub ↗
(d, id)

Source from the content-addressed store, hash-verified

703
704
705function findLinkedNodes(d, id) {
706 for (let entry in graph.links) {
707 if ((graph.links[entry].source.id === d.id && graph.links[entry].target.id === id) ||
708 (graph.links[entry].source.id === id && graph.links[entry].target.id === d.id) ||
709 (graph.links[entry].source.id.endsWith(id) && graph.links[entry].target.id === d.id) ||
710 (graph.links[entry].source.id === d.id && graph.links[entry].target.id.endsWith(id))
711 ) {
712 return true;
713 }
714 }
715 return false;
716}
717
718function highlightGroup(event, obj) {
719 if (obj) {

Callers 3

highlightGroupFunction · 0.85
highlightObjectFunction · 0.85
createDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected