plot_connections_as_it_is

go-to Go-to Three.js pore graph from raw connections and maxima (mirrors Plotly API).

threejs_viz.plot_connections_as_it_is(
    connections,
    maxima,
    shape,
    ase_atoms,
    plot_periodic=True,
    plot_disconnected=False,
    unique_regions=None,
    **kwargs,
)

Build Three.js connection traces from raw connections, maxima, and grid shape.