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

#241 metamine visualization tool #258

Merged
merged 25 commits into from
Oct 7, 2022
Merged

Conversation

aswallace
Copy link
Collaborator

MVP of visualization for 2D pixelated metamaterial unit cells.
Uses vega-lite to render the interactive chart, and Apollo GraphQL to pull the data.

TODO:

  • Replace symmetry color coding("c2v" and "c4v") with dataset names
  • Show elastic surfaces using the Python code shared by Wayne
  • Post data on QA

aswallace and others added 24 commits August 10, 2022 16:16
Important TD: data access is very inefficient right now and needs lots of work

- csv needs to be stored on rest, not frontend
- should be stored in local storage after initial pull
- needs geometry visualization

Currently mockup2 is the more up-to-date version
- Add constituent material info under the unit cell image
- Temporarily switch to using Papaparse for csv to json conversion since my implementation was buggy
- Switch to using apollo graphql for data
- Temporarily remove color coding until datasets have label or title
- Temporarily limit to 10x10 OR 50x50, not both
- Add loading spinner, fix async behavior
@aswallace aswallace self-assigned this Oct 6, 2022
@aswallace aswallace requested a review from tholulomo as a code owner October 6, 2022 20:06
@aswallace aswallace linked an issue Oct 6, 2022 that may be closed by this pull request
6 tasks
Copy link
Contributor

@tholulomo tholulomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍, if fixes will take longer for my comments, let's go ahead and merge. We can create a tech debt to fix later, especially the timeout with async in it to reduce latency.

@aswallace aswallace merged commit f27dbb3 into develop Oct 7, 2022
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.

Metamine Visualization Tool
2 participants