tri-amdd / materialnet Goto Github PK
View Code? Open in Web Editor NEWVisualization for TRI materials network data
Home Page: https://maps.matr.io
License: Apache License 2.0
Visualization for TRI materials network data
Home Page: https://maps.matr.io
License: Apache License 2.0
Design a system to display different data templates for different datasets.
@waxlamp can you elaborate on that?
Perhaps shift+mousewheel or ctrl+mousewheel.
Hi, I am one of the reviewer for the JOSS paper for materialnet. I'll open a few issues as I find surprising things while playing with material net.
On the live demo (https://toyotaresearchinstitute.github.io/materialnet), in the "about" modal, links points to an outdated URL for this repository: https://github.com/arclamp/materialnet/. Github redirect this to https://github.com/ToyotaResearchInstitute/materialnet/, so I guess the repository has been transferred at some point without updating the URLS.
Please provide community guidelines for potential contributors (openjournals/joss-reviews#2105).
Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support
This allows for single letter elements to match immediately (e.g., "O" will match oxygen first, rather than cobalt)
e.g., results depend on what order elements are mentioned, parentheses, etc.
selecting the dataset to visualize via the URL (e.g. #precise) will simplify the initial selection and speeds up the development, when using just the simple dataset
at least I cannot see any completions
It should maybe be updated to "materialnet"
extension of #65 allowing to store the whole state (dataset, scale, sselection, ...) in the state for simpler sharing
Currently, live layout only works for subspace materials.
especially with sliders it becomes tedious to reset them. A central reset filter button can be helpful in this case.
This is to help re-establish proper context if the user gets lost somehow
Allow the user to filter the graph by property ranges.
e.g. add to the side panel as a separate section
Allow the user to stick/pin a selection of a node. aka define a focus node
effects
Related to the JOSS Review (openjournals/joss-reviews#2105). When I want to run the application locally, the application gets stuck loading a network.
These are the commands I entered in order to run the application:
git clone https://github.com/ToyotaResearchInstitute/materialnet.git
cd materialnet
yarn install
yarn start
Any ideas on how I can get this to work?
for now, hovering of a line is disabled. Since the tooltip has changed to be a react based component, it raised the question where to the show the tooltip when hovering over a line. One option is to show it in the center or on some edge
What I did:
git clone [email protected]:ToyotaResearchInstitute/materialnet.git
cd materialnet
yarn install
yarn test
# press a to run all tests
What I got
FAIL src/App.test.js
● Test suite failed to run
Jest encountered an unexpected token
This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
Here's what you can do:
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
• If you need a custom transformation specify a "transform" option in your config.
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
You'll find more details and examples of these config options in the docs:
https://jestjs.io/docs/en/configuration.html
Details:
/local/scratch/fraux/code/tests/materialnet/node_modules/lodash-es/lodash.js:10
export { default as add } from './add.js';
^^^^^^
SyntaxError: Unexpected token 'export'
9 | import MenuItem from '@material-ui/core/MenuItem';
10 | import CancelIcon from '@material-ui/icons/Cancel';
> 11 | import { deburr } from 'lodash-es';
| ^
12 | import { ListItemText, ListItemSecondaryAction } from '@material-ui/core';
13 |
14 | // BASED on https://material-ui.com/components/autocomplete/
at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:403:17)
at Object.<anonymous> (src/components/controls/reactselect.js:11:1)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 4.044s
Ran all test suites.
System information: Ubuntu 18.04, node 13.8.0, yarn 1.22.0.
I did not see a link in the Readme to the documentation of this package, or instructions about how to generate this documentation locally.
In the deployed version, after switching the dataset away from the default, the throbber remains on the display and prevents direct mouse interaction with the data.
Please provide example usage in the documentation (README.md) on how to use MaterialNet (openjournals/joss-reviews#2105). For example, could you write a small markdown on how to perform a relevant analysis in this software? What information do you wish to obtain from MaterialNet?
atm when a node is selected all not connected edges will have a opacity of zero. An alternative is just to draw only the selected lines. Or a mix, by adding a layer showing only the selected lines
This will involve:
prettier
to the dev dependenciesprettier
in check and fix modeshusky
to run prettier
in check mode in a pre-commit hookMobx (https://mobx.js.org/) is a simple and powerful state management tool, especially when using React.
so far the node color can be assigned to different attributes. However, there is no visual indication what a specific color means. A color legend will help with that
based on #61 the info panel is now to the right. Thus, making the settings panel on the left collapsible creates more space if needed
e.g., sort first by synthesis probability, then some other value.
once the user created a subset of graph he/she might wanna download the data as a CSV file. Essentially the LineUp view as CSV
Currently, this zoom mode operates globally, always expanding from (0, 0). Instead, make it work from the coordinates at the center of the current view position.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.