(d3el, styles)
| 104 | } |
| 105 | |
| 106 | export function applyStyles(d3el, styles) { |
| 107 | Object.keys(styles).forEach((key) => d3el.style(key, styles[key])); |
| 108 | return d3el; |
| 109 | } |
| 110 | |
| 111 | export function applyAttrs(d3el, styles) { |
| 112 | Object.keys(styles).forEach((key) => d3el.attr(key, styles[key])); |
no outgoing calls
no test coverage detected
searching dependent graphs…