开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜