Closed mulderp closed 10 years ago
Hey Patrick,
Sorry about confusion. ngraph
is indeed a collection of examples. There is no command line utility. Each example is a standalone application which shows how to use modules from ngraph
family. To get started checkout this repository, go to the folder with example you are interested in and run:
npm install
npm start
Ah, thanks for the clarification. I see. Maybe it would make sense to add an overview on the graph modules in the readme.
E.g. some words about:
require('ngraph.forcelayout');
require('ngraph.generators')
I am also not quickly seeing where I load the graph data vs. where the graph is rendered. In the index.html there is a "onLoad" Event handler. But what if I get data from a database as JSON for example. How would the data look like.
Patrick, I am actually trying to keep ngraph modules properly documented. E.g. ngraph.forcelayout, ngraph.generators
Are you talking about specific example?
I see - the idea behind ngraph gets much clearer by looking at the modules. Well, one thing I am still missing is the "mapping" or "bind" step of a data file to a graph, and how this applies to ngraph. One of my difficulties in understanding graphs, is the modeling of references with node and edges. If you have a pointer on that, that would be great (also, how special Graph languages apply to this, e.g. Gremlin or Cypher)
Hi Andrei,
I really like your idea to drive visualizations from the command line. But I am missing something to get started. In the readme, there is something written about the ngraph command.
Where can I find that command? What is the source code repo to see how it works? How do i Install that ngraph package?
This repo seems more like a wrapper repo for the project, if I understand correctly.
Thanks a lot!