Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Given the following paths on a directed graph:

(A --> B --> C)

(C --> B)

(C --> A)

I want to find a way to generate a visual representation for this directed graph. Is there any available software that is capable of doing this?

share|improve this question

closed as off-topic by fixer1234, Sathya Sep 24 at 4:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – fixer1234, Sathya
If this question can be reworded to fit the rules in the help center, please edit the question.

Here's an example of the type of image that I'd like to generate:… –  Anderson Green Oct 5 '12 at 21:14
Perhaps this question should be migrated to - it might be possible to do this in Mathematica. –  Anderson Green Oct 5 '12 at 21:15
On Stackoverflow, I found a Javascript library for this purpose: –  Anderson Green Oct 5 '12 at 21:17

3 Answers 3

up vote 5 down vote accepted

You can use dot of the graphviz suite. Here's a simple example of the language.

digraph graphname {
     a -> b -> c;
     b -> d;


share|improve this answer
Is GraphViz available for Linux? –  Anderson Green Oct 10 '12 at 4:47
@AndersonGreen Yup, go to the download page for further details. –  Andy Oct 10 '12 at 8:15

You can do graphs like this using an Excel Scatter (XY) chart. Generally, the best way would be to:

  1. Create an XY point for each node.
  2. Create a series for each path.
  3. Format the series with end points to indicate which direction the path represents.
  4. Format everything else, so it doesn't look like an Excel chart.

The result could look something like this:


share|improve this answer

The R language is ideal for this, especially with large/changing datasets. Here's a simple guide.

You'll need an R development enviroment, I use revolution analytic's.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.