Skip to content

materialscloud-org/mc-react-phonon-visualizer

Repository files navigation

Phonon visualizer React component for the MaterialsCloud

The React component implemented in this repo mimics the features of the phonon visualizer developed by Henrique Miranda and used in the MaterialsCloud.

Dependencies

  • sass, bootstrap, and bootstrap-icons for styles
  • react-plotly.js for the phonon bands view
  • WEAS for the cell view

Testing

The app is self-tested via the App component against local test data (/data/test.json).

Publishing a new version

Make sure build works locally without problems:

npm run build

To make a new version and publish to npm via GitHub Actions:

npm version <major/minor/patch>
git push --follow-tags