Skip to main content

Crate facett_arrow

Crate facett_arrow 

Source
Expand description

facett-arrow — Apache Arrow → facett Scene. Turn an edge RecordBatch (Int64 src/dst ids + optional Utf8 labels) straight into a drawable graph. This is the “Apache Arrow integration” half of facett: any Arrow source — a graph query, a join result — becomes a Scene with no per-consumer plumbing.

Functions§

scene_from_batch
Build a Scene from an edge batch. src/dst must be Int64; the optional src_label/dst_label are Utf8 (used to colour nodes). Rows with a null endpoint are skipped.
scene_from_edge_batch
Convenience for the common src/dst/sl/dl column convention.
table_from_batch
Turn an Arrow RecordBatch into a scrollable facett_table::Table — every column becomes a table column, cells formatted to strings. Pairs with facett-table’s virtualised scroll for big batches.