node-graph icon indicating copy to clipboard operation
node-graph copied to clipboard

Is there any support for directed graphs?

Open chrisdew opened this issue 13 years ago • 0 comments

I'm considering adding support for directed graphs, as I can't find it here.

As far as I can see, without much thinking applied, this only needs the following:

  • An optional flag in the Graph constructor to allow directed graphs.
  • Some minor changes in search algorithms to only follow outward edges, if the graph is a directed graph.

What are your thoughts?

All the best,

Chris.

chrisdew avatar May 11 '11 10:05 chrisdew