Skip to content

Story-Related Libraries #100

Description

@zachcp

In creating Mol-View-Stories we put together a nice format for coordinating between code editors and molstar displays. In #97 I refactored the editor code so that I could reuse this code as part of mol-view-stories library. I've made some progress on two downstream libraries that I want to share.

Molstar Components

This library intends to provide some convenient web-based components that can be reused. At the moment there is: 1) MolstarViewer which is a reactive component that accepts molviewspec data and will update on change, and 2) EditorWithViewer which is an editor+Viewer component that is built on top of mol-view-stories/StoryManager and will auto update the viewer based on the execution in the editor.

Image Image


MolViewSpec-Quarto

This packages the EditorWithViewer from above for use in the Markdown-based documentation system. I think this could be useful for writing interactive molviewspec docs.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions