draw_framework

go-to Functional API for framework scatter or mesh traces (Three.js backend).

threejs_viz.draw_framework(
    ase_atoms,
    bonds='auto',
    representation='scatter',
    atom_scale=0.65,
    bond_color=None,
    bond_linewidth=8.0,
    name='Framework',
    **kwargs,
)

Build Three.js framework trace(s) as scatter points or ball-and-stick mesh.