A pure JavaScript/HTML tool for creating and editing BioCypher schema configurations. This tool can be embedded in documentation sites, including GitHub Pages.
- 📊 Visualize schemas as interactive graphs using vis.js
- ✏️ Edit schemas with an intuitive interface
- ➕ Add entities and relationships easily
- 🗑️ Delete elements with reference checking
- 💾 Download configurations as YAML files
- 🎯 Validate class names according to BioCypher conventions
- 📝 YAML preview with syntax highlighting (Monaco Editor)
Try it at: https://biocypher.github.io/schema-helper-web/
- Open
index.htmlin a web browser - Upload a YAML schema file or use the toy dataset
- Visualize, edit, and download your schema
<iframe
src="https://biocypher.github.io/schema-helper-web/index.html"
width="100%"
height="800px"
frameborder="0"
style="border: 1px solid #ddd; border-radius: 8px;">
</iframe>See INTEGRATION.md for detailed integration instructions.
This repository is configured to automatically deploy to GitHub Pages when changes are pushed to the main branch.
- Push code to
mainbranch - GitHub Actions will automatically deploy
- Access at
https://biocypher.github.io/schema-helper-web/
- Clone this repository
- Enable GitHub Pages in repository settings
- Select source:
Deploy from a branch→main→/ (root)
schema-helper-web/
├── index.html # Main HTML file
├── styles.css # Stylesheet
├── app.js # Application logic
├── README.md # This file
├── INTEGRATION.md # Integration guide for docs
├── .gitignore
└── .github/
└── workflows/
└── pages.yml # GitHub Actions deployment
All dependencies are loaded from CDN:
- vis.js - Graph visualization
- js-yaml - YAML parsing and generation
- Monaco Editor - Code editor for YAML preview
No build step or npm installation required!
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Clone the repository
- Open
index.htmlin a browser - Or serve with a local server:
python -m http.server 8000
- Access at
http://localhost:8000
- Edit
index.html,styles.css, orapp.js - Test locally
- Commit and push to
main - GitHub Actions will deploy automatically
See INTEGRATION.md for detailed instructions on embedding this tool in BioCypher documentation.
MIT License - same as BioChatter Light and BioCypher
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
For issues or questions:
- Open an issue in this repository
- Check INTEGRATION.md for embedding questions
- Contact the BioCypher team