Interface UserStructure

User-defined data to allow dynamic loading of the structures.

The main use-case of this is making the initial loading time of chemiscope faster by loading structure on-demand, from files, a database or even a javascript program.

Hierarchy

  • UserStructure

Properties

Properties

data: unknown

User-defined data which can be turned into a Structure.

loadStructure must be set to be able to load this data.

size: number

Number of atoms in the structure