Could we write a little bit about how you would like to be using it? And what your requirements are?
If it’s primarely embedding the editor without feeding back data to Panel then it should be relatively easy to help you get started.
If you need bidirectional communication then we would need to build a custom model/ ReactiveHTML model. I am interested in joining this. I have been thinking about starting a panel-chem or panel-chem-bio package that could include this one.
Thank you very much for your quick response.
As I referred from the blog with Streamlit’s apps, at first I would like to obtain the SMILES from the molecule structures that is sketched on the JSME editor, pass it to the Panel and use it for the other purposes. Therefore, your second options is more related to our target.
I have been following your awesome projects and I am looking forward to know more about the application of Panel in chemistry.
We can try. But it would be nice to get some input from @philippjfr on whether we should go with a Bokeh Extension (used today) or the new ReactiveHTML component.
For the libraries, it depends on how the apps works, I think. One of the simplest idea is to build an apps to interactively generate 3D structure of the molecules. Here, JSME to sketch the 2D graph, then generate 3D by rdkit or pybel, and later show the structure with 3DMol, pymol, Or NGL, as you and @ea42gh had discussed before.
Could you please review the README and Feature Requests?@ea42gh and @Arifin
It would help a lot if you started creating Feature Requests describing the changes and additions you would like and why. You are also very welcome to start doing pull requests.
If something seems strange please let me know. I am not that used to working together on an open source project. So please help us all make this fun and productive.
If you use console.log you can print the jsme_container object. It will give you the information you need to render it. I am on the cellphone, sorry for not testing