Commit dbf04b8
committed
Refactoring - topology visualization support for segments and service paths
- Introduce topology visualization cards in segment and service path templates
- Include shared topology visualization partial for code reuse
- Extend SegmentView to build topology data via build_segment_topology and build_service_path_topology
- Register new topology builder utilities in utils.__init__
- Simplify servicepath.html by replacing inline Cytoscape.js code with reusable include1 parent c247635 commit dbf04b8
File tree
8 files changed
+950
-740
lines changed- cesnet_service_path_plugin
- templates/cesnet_service_path_plugin
- inc
- utils
- views
8 files changed
+950
-740
lines changedLines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
305 | 328 | | |
306 | 329 | | |
307 | 330 | | |
| |||
399 | 422 | | |
400 | 423 | | |
401 | 424 | | |
402 | | - | |
| 425 | + | |
0 commit comments