The canvas's priority rule as one number, lexicographic by
construction: selected > hovered > explicit rank > node before
edge > degree/weight. Each tier's range is strictly narrower than
the step above it, so a lower tier can never outvote a higher one.
Exposed so a host measuring its own labels gets the same ordering
the canvas uses.
The canvas's priority rule as one number, lexicographic by construction: selected > hovered > explicit rank > node before edge > degree/weight. Each tier's range is strictly narrower than the step above it, so a lower tier can never outvote a higher one. Exposed so a host measuring its own labels gets the same ordering the canvas uses.