/graph-web

ReactJS/SVG project which displays graphs in a graphical view

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Graph React Project

This is a ReactJS/SVG example project which displays graphs in a graphical view.

Features

This app has the ability to:

  • Display graph in SVG
  • Connect nodes with mouse clicks
  • Draggable nodes
  • Add or remove nodes/edges without reseting the view
  • Colorize the nodes
  • Console.log JSON format of graph node connections

Usage

run this code in terminal to install dependencies:

npm install

Then run webpack with NODE_ENV=production

NODE_ENV=production webpack

Now open index.html file in your browser.