Interface StructureConfig

Configuration for the StructureVisualizer

Hierarchy

  • StructureConfig

Properties

info: string | HTMLElement

Id of the DOM element to use for the environment information

loadStructure?: ((index: number, structure: unknown) => Structure)

Type declaration

    • (index: number, structure: unknown): Structure
    • Custom structure loading callback, used to set loadStructure

      Parameters

      • index: number
      • structure: unknown

      Returns Structure

meta: string | HTMLElement

Id of the DOM element to use to display metadata

structure: string | HTMLElement

Id of the DOM element to use for the structure viewer grid