Git Product home page Git Product logo

materialnet's People

Contributors

alesgenova avatar cjh1 avatar danielskatz avatar dependabot[bot] avatar jjnesbitt avatar josephmontoya-tri avatar rcannood avatar sgratzl avatar waxlamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

materialnet's Issues

Add Download CSV feature

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

pinned selection

Allow the user to stick/pin a selection of a node. aka define a focus node

effects

  • keep the local neighborhood of the pinned selection only
  • allow to select/inspect other nodes

url (hash) based state

extension of #65 allowing to store the whole state (dataset, scale, sselection, ...) in the state for simpler sharing

line highlights

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

collapseable info panel

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

JOSS review: yarn test fails

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.

reenable line hovering

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

logo in night mode

image

night mode:
image

In the current version a simple invert filter is used to adapt the logo to the night mode. However, since we now have a colored logo, it does change the Cooperate Design of it. Doe they have a logo which red color and white text?

create property filters

Allow the user to filter the graph by property ranges.

e.g. add to the side panel as a separate section

JOSS Review: Example usage

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?

Sticky loading throbber

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.

Add linting infrastructure to codebase

This will involve:

  • adding prettier to the dev dependencies
  • creating an NPM script to run prettier in check and fix modes
  • adding husky to run prettier in check mode in a pre-commit hook

create a color legend

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

Remove zoom slider

image

do we need it, since everyone will probably just use the mouse anyhow?

url (hash) based dataset selection

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

Integrate different node filtering modes into one

This involves unifying the "subspace" and material search functions into a single filtering operation that allows for construction of subgraphs, and then subjects them to LineUp analysis, foregrounded visualization, and live layout.

The following issues may depend on this one:

Add reset filter button

especially with sliders it becomes tedious to reset them. A central reset filter button can be helpful in this case.

JOSS review: outdated links in "about" modal

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.

JOSS Review: Local installation hangs

Related to the JOSS Review (openjournals/joss-reviews#2105). When I want to run the application locally, the application gets stuck loading a network.

Screenshot from 2020-02-26 11-44-36

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.