danielcaldas / react-d3-graph

Interactive and configurable graphs with react and d3 effortlessly
https://danielcaldas.github.io/react-d3-graph/sandbox/
MIT License
819 stars 233 forks source link

How to build and run react-d3-graph locally? #383

Open michaelbdavid opened 3 years ago

michaelbdavid commented 3 years ago

Hey @danielcaldas,

I've pulled react-d3-graph locally and I'm not seeing a way that I can build and run locally. I'd like to try out the changes in feature/multiple-edges-between-same-nodes to see if they provide the support I need for multiple edges. I tried running npm install; npm build but build command doesn't seem to exist. I'd assume after I build this package that I would see /build dir appear and then i could install this directory within my app so I could use these features?

Any help is appreciated, Michael

lironhl commented 3 years ago

As written in the Contributing section of the README.md, you should run npm run dev, and be able to interact with the package in http://localhost:3002/.

michaelbdavid commented 3 years ago

Thx and if I wanted to reference this package within my node app could I do this without the dist getting created? I basically want to point at this feature branch instead of the one on npm. but I cant seem to build it locally. npm run dist fails for me. npm run dev worked to deploy locally thx for that.

michaelbdavid commented 3 years ago

btw looks good in the locally deployed container when can we expect this feature to be added?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.