mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-06 11:41:28 +00:00
ProcessRenderer was coloring connected nodes because we need that info for rendering details panels. However, the main process topology view renderers depending on ProcessRenderer were also doing coloring themselves. For the 'processes' topology that was literally duplicating work. For the 'processes-by-name' topology that was throwing away the process coloring, and then coloring at the name level. Solution: remove the coloring from the ProcessRenderer, thus eliminating the duplicate/thrown-away work, and introduce a ColorConnectedProcessRenderer which is only used in places that populate details panels.
4.8 KiB
4.8 KiB