code wiki / _hdl_build / nx_viz_tree.nx

nx_viz_tree.nx

buildroot/runtime/_hdl_build/nx_viz_tree.nx

1526 B43 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind tooltopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_tree.nx -- the TIDY-TREE layer of the sovereign Nishi viz library (the d3-hierarchy tree core, bits-up). Assigns x by leaf order (spacing 100) then centres each internal node over its children (post-order by decreasing depth); y = depth. Cleaner than naive layered stacking (parents sit above their subtree's middle). Closes layout-tree. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_viz_tree.nx nx_viz_tree_gate.nx

imports: nx_syscalls.nx

imported by: nx_viz_tree_gate.nx

structs

none

consts

none

functions

7func vt_tree(n: i64, parent: *i64, x_out: *i64, depth_out: *i64) -> i64
called by 1: main
43func main() -> i64 { return 0 }