Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
NeoDash is an open source tool for visualizing your Neo4j data. It lets you group visualizations together as dashboards, and allow for interactions between reports.
Neodash supports presenting your data as tables, graphs, bar charts, line charts, maps and more. It contains a Cypher editor to directly write the Cypher queries that populate the reports. You can save dashboards to your database, and share them with others.
There are three ways to run the application:
NeoDash is built with React. You'll need npm
installed to run the web app.
To run the application in development mode:
npm install
to install the necessary dependencies.npm run dev
to run the app in development mode.To build the app for production:
npm run build
. This will create a build
folder in your project directory.As of v2.0, NeoDash is easy to extend with your own visualizations. There are two steps to take to plug in your own charts:
All NeoDash charts implement the interface defined in src/charts/Chart.tsx
. A custom chart must do the same. the following parameter as passed to your chart from the application:
records
: a list of Neo4j Records. This is the raw data returned from the Neo4j driver.settings
: a dictionary of settings as defined under "advanced report settings" for each report. You can use these values to customize your visualization based on user input.selection
: a dictionary with the selection made in the report footer.dimensions
: an array with the dimensions of the report (mostly not needed, charts automatically fill up space).queryCallback
: a way for the report to read more data from Neo4j, on interactions.setGlobalParameter
: a way for the report to set globally available Cypher parameters, on interactions.Make sure that your component renders a React component. your component will be automatically scaled to the size of the report. See the other charts in src/charts/
for examples.
To let users choose your visualization, you must add it to the app's report configuration. This config is located in src/config/ReportConfig.tsx
, and defined by the dictionary REPORT_TYPES
.
To add your visualization to the config, add a new key to the REPORT_TYPES
dictionary with a unique name. The entry's value is an object which can contain the following fields:
label
: a display name for the visualization. Mandatory.component
: the React component that renders the visualization. Mandatory.helperText
: a string that is show under the query box in the report settings. Mandatory.selection
: a list that contains each of the selection boxes present in the report footer. Optional.settings
: a list of selection boxes that shows under the advanced settings. Optional.maxRecords
: a hard limit on the number of records the visualization can handle. Mandatory.useRecordMapper
: whether to use the in-built record mapper to fix your results in a specific format. Optional.useNodePropsAsFields
: whether to use the node property selector as a report footer override. Optional.If all works, please consider contributing your code to this repository.
If you have any questions about NeoDash, please reach out. For feature requests, consider opening an issue(link) on GitHub.
NeoDash 2.0.5
Graph report:
Table:
Parameter select:
Editor:
FAQs
NeoDash - Neo4j Dashboard Builder
The npm package neodash receives a total of 3,348 weekly downloads. As such, neodash popularity was classified as popular.
We found that neodash demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.