Apply the given settings
to the structure panels in the visualizer
Add the given callback
to be called whenever a setting changes. The
callback will be given the path to the settings as a list of keys; and
the new value of the setting.
There is currently no way to remove a callback.
Static
loadLoad a dataset and create a visualizer.
This function returns a Promise<StructureVisualizer>
to prevent blocking
the browser while everything is loading.
configuration of the visualizer
visualizer input, containing a dataset and optional visualization settings
Promise that resolves to a StructureVisualizer
A structure-only chemiscope visualizer: two panels (map, info) updating one another when the user interact with any of them.