(json)
| 116 | }; |
| 117 | |
| 118 | function parseResponse(json) { |
| 119 | console.log("Updating network"); |
| 120 | // parse json |
| 121 | for (var componentId in json) { |
| 122 | parseNode(json[componentId], componentId); |
| 123 | } |
| 124 | |
| 125 | // Create network if it does not exist yet |
| 126 | if (visNS.network == null) { |
| 127 | createNetwork() |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | function getThemeOptions() { |
| 132 | var isDark = document.documentElement.getAttribute('data-bs-theme') === 'dark'; |
no test coverage detected