Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo.html to demonstrate SBGNViz.js usage #209 #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajanarahul93
Copy link

This PR adds a demo.html file to demonstrate how to use SBGNViz.js in an HTML file. The example includes:

@hasanbalci
Copy link
Contributor

@rajanarahul93 Are you sure that your demo.html file is working?

@rajanarahul93
Copy link
Author

@hasanbalci Yes, I have tested the demo.html file, and it is working correctly. The SBGN-ML file loads as expected. Let me know if you have any suggestions for improvements

@hasanbalci
Copy link
Contributor

hasanbalci commented Jan 30, 2025

But you are referring to non-existing files such as dist/sbgnviz.min.js and dist/sbgnviz.css. Sbgnviz doesn't have a dist folder. It also doesn't have any function named loadSbgn.

@rajanarahul93
Copy link
Author

Thank you for pointing that out, @hasanbalci. I see the mistake regarding the dist/ folder and the loadSbgn function. Could you clarify the correct way to reference SBGNViz.js in the script and how to load an SBGN-ML file? I’ll make the necessary corrections accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants