MCPcopy
hub / github.com/apache/echarts / getChildrenByTagName

Function getChildrenByTagName

extension-src/dataTool/gexf.ts:211–222  ·  view source on GitHub ↗
(parent, tagName)

Source from the content-addressed store, hash-verified

209}
210
211function getChildrenByTagName(parent, tagName) {
212 let node = parent.firstChild;
213 const children = [];
214 while (node) {
215 if (node.nodeName.toLowerCase() === tagName.toLowerCase()) {
216 children.push(node);
217 }
218 node = node.nextSibling;
219 }
220
221 return children;
222}

Callers 3

parseAttributesFunction · 0.85
parseNodesFunction · 0.85
parseEdgesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…