Best Way to Store/Access a Directed Graph

后端 未结 6 612
清酒与你
清酒与你 2021-02-01 09:14

I have around 3500 flood control facilities that I would like to represent as a network to determine flow paths (essentially a directed graph). I\'m currently using SqlServer an

6条回答
  •  隐瞒了意图╮
    2021-02-01 09:37

    The best way to store graphs is of course to use a native graph db :-)

    Take a look at neo4j. It's implemented in Java and has Python and Ruby bindings as well.

    I wrote up two wiki pages with simple examples of domain models represented as graphs using neo4j: assembly and roles. More examples are found on the domain modeling gallery page.

提交回复
热议问题