views:

22

answers:

1

I'm looking for a simple way to represent simple dependencies in a file. Preferably I'd like to use some format with a syntax already defined (e.g. JSON, YAML, etc). I'm leaning towards graphviz's dot syntax

digraph {
    A -> B;
    A -> C;
    B -> D;
}

Are there any other ways to do this?

This will be for user's to write simple dependencies in and parsed by an application.

A: 

The NetworkX graph library has a number of standard formats for data files which are worth checking out.

ire_and_curses