i2-wustl / visualization-ui

0 stars 0 forks source link

The z-order is now computed only at initialization #65

Closed DennisGoldfarb closed 4 years ago

DennisGoldfarb commented 4 years ago

The z-order is now computed only at initialization by ordering the svg groups correctly. After that there's no need to raise certain groups because it no longer matters what order individual elements are added since their parent groups are in the correct order. This decreased computation time by ~15%

DennisGoldfarb commented 4 years ago

Mmm, I think I introduced a bug.. hold on.

DennisGoldfarb commented 4 years ago

Found it, but the fix will conflict with one of the other PRs so I'm going to wait until it's in master and rebase