Interface DefaultConfig

Configuration for the DefaultVisualizer

interface DefaultConfig {
    info: string | HTMLElement;
    loadStructure?: ((index, structure) => Structure);
    map: string | HTMLElement;
    maxStructureViewers?: number;
    meta: string | HTMLElement;
    structure: string | HTMLElement;
}

Properties

info: string | HTMLElement

Id of the DOM element to use for the environment information

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

Custom structure loading callback, used to set ViewersGrid.loadStructure

Type declaration

map: string | HTMLElement

Id of the DOM element to use for the properties map

maxStructureViewers?: number

Maximum number of structure viewers allowed in ViewersGrid

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