code wiki / _hdl_build / nx_viz_chord.nx

nx_viz_chord.nx

buildroot/runtime/_hdl_build/nx_viz_chord.nx

1888 B44 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind tooltopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_chord.nx -- the CHORD layer of the sovereign Nishi viz library (the d3-chord equivalent, bits-up). Maps an N x N flow matrix to a circular layout: each group gets an arc proportional to its row-sum; within it, sub-arcs per target; a chord (i,j) connects group i's sub-arc-for-j to group j's sub-arc-for-i. Angles in centi-degrees (0..36000) for integer precision. Render with arcs (groups) + curves (chords). Closes layout-chord. license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_viz_chord.nx nx_viz_chord_gate.nx nx_viz_chord_page.nx

imports: nx_syscalls.nx

imported by: nx_viz_chord_gate.nxnx_viz_chord_page.nx

structs

none

consts

7const K_MAGIC_36000: i64 = 36000

functions

9func vch_rowsum(matrix: *i64, n: i64, i: i64) -> i64
14func vch_total(matrix: *i64, n: i64) -> i64
called by 1: vch_groups
20func vch_groups(matrix: *i64, n: i64, garc_out: *i64) -> i64
called by 2: mainmain calls 2: vch_totalvch_rowsum
34func vch_sub_mid(matrix: *i64, n: i64, i: i64, j: i64, garc_out: *i64) -> i64
called by 2: mainmain calls 1: vch_rowsum
44func main() -> i64 { return 0 }