diff --git a/src/Components/Stats.svelte b/src/Components/Stats.svelte index 88e26b94..8efde06c 100644 --- a/src/Components/Stats.svelte +++ b/src/Components/Stats.svelte @@ -1,52 +1,142 @@ + + + + + + + + + + + + + + + + + {#each userHierarchies as hier, i} + + + + {#each ["up", "same", "down"] as dir} + + {/each} + + + + {#each ["up", "same", "down"] as dir} + + {/each} + + {/each} +
HierarchyCount
+ MeasureUpSameDownTotal
+ {hierStrs[i]} + Nodes + {Math.max( + ...Object.values(hierGs[i][dir]).map((g) => g.nodes().length) + )} +
Edges + {sum(Object.values(hierGs[i][dir]).map((g) => g.edges().length))} +
+ +