angular/devtools/projects/ng-devtools/src
AleksanderBodurri 9a1735aee8 fix(devtools): revert router tree dashed edges for lazy routes (#64532)
From my investigation what I know for sure:
- when the graph pans or zooms it updates the transform property on the g element, which in turn causes the browser to repaint the visible space in the g element
- stroke-dasharray is the cause of major performance issues in large graphs.

What I suspect:
- When the g element repaints, it also has to repaint all of the child svg elements. When the dashed line path svgs repaint, the stroke-dasharray calculation is not GPU accelerated, but instead occurs on the CPU, causing extreme lag whenever the svg graph is panned or zoomed.

Temporary solution: remove this dashed edge functionality. We can investigate alternatives for communicated that a path is lazy loaded.

Future long term solution: migrate to canvas based graph renderer for router tree and injector graph.

PR Close #64532
2025-10-20 15:32:49 +00:00
..
lib fix(devtools): revert router tree dashed edges for lazy routes (#64532) 2025-10-20 15:32:49 +00:00
styles refactor(devtools): visual separation between directives in the property tab (#64222) 2025-10-03 15:05:50 +00:00
BUILD.bazel refactor(devtools): save user settings in the settings store (#62429) 2025-08-06 15:12:00 +02:00
public-api.ts refactor(devtools): save user settings in the settings store (#62429) 2025-08-06 15:12:00 +02:00