Generate a visual representation of a graph (graph theory) [closed]

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?

-

closed as off-topic by fixer1234, Sathya♦Sep 24 '15 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: en.wikipedia.org/w/… – Anderson Green Oct 5 '12 at 21:14
Perhaps this question should be migrated to mathematica.stackoverflow.com - 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: graphdracula.net – Anderson Green Oct 5 '12 at 21:17

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

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

-
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:

-

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.

-