(parent)
| 61 | } |
| 62 | |
| 63 | function parseAttributes(parent) { |
| 64 | return parent ? zrUtil.map(getChildrenByTagName(parent, 'attribute'), function (attribDom) { |
| 65 | return { |
| 66 | id: getAttr(attribDom, 'id'), |
| 67 | title: getAttr(attribDom, 'title'), |
| 68 | type: getAttr(attribDom, 'type') |
| 69 | }; |
| 70 | }) : []; |
| 71 | } |
| 72 | |
| 73 | function parseNodes(parent, attributesMap) { |
| 74 | return parent ? zrUtil.map(getChildrenByTagName(parent, 'node'), function (nodeDom) { |
no test coverage detected
searching dependent graphs…