Representing dependencies file syntax
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 i开发者_JAVA技巧n and parsed by an application.
The NetworkX graph library has a number of standard formats for data files which are worth checking out.
精彩评论