code wiki / _hdl_build / nx_viz_sankey_page.nx

nx_viz_sankey_page.nx

buildroot/runtime/_hdl_build/nx_viz_sankey_page.nx

8466 B156 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind orphan librarytopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_sankey_page.nx -- COMPOSED live SANKEY: parse a node/link flow TSV, lay out with nx_viz_sankey (vsk_layout: throughput + per-column stacking), draw nodes as rects + links as thickness-proportional ribbons (cubic-Bezier centerlines, stacked at per-node offsets) coloured per source (nx_viz_color). Self-contained HTML for the wiki. usage: nx_viz_sankey_page [in.tsv] [out.html]. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_viz_sankey.nx nx_viz_shape.nx nx_viz_color.nx nx_syscalls.nx nx_viz_sankey_page.nx

imports: nx_viz_sankey.nxnx_viz_shape.nxnx_viz_color.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

9const K_MAGIC_2048: i64 = 2048
10const K_MAGIC_262144: i64 = 262144

functions

12func cw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 }
13func emit_hex6(out: *u8, off: i64, color: i64) -> i64
19func atoi_rng(buf: *u8, s: i64, e: i64) -> i64
25func main(argc: i64, argv: *i64) -> i64