Skip to content

AcyclicGraphTake and Consistency Improvements

Compare
Choose a tag to compare
@maxitg maxitg released this 25 Jan 17:53
· 50 commits to master since this release
d829db6

This release introduces:

  • AcyclicGraphTake function that allows one to easily take "causal diamonds" between two vertices of a DAG:
In[] := With[{
    graph = WolframModel[
        {{{1, 2}, {1, 3}, {1, 4}} -> {{2, 2}, {2, 5}, {3, 2}, {3, 4}, {4, 5}}}, {{1, 1}, {1, 1}, {1, 1}}, 15][
      "CausalGraph", VertexStyle -> LightGray, EdgeStyle -> Gray]},
  HighlightGraph[graph, AcyclicGraphTake[graph, {4, 268}]]
]

Thanks to @SantiagoGiner, @daneelsan and @aokellermann for contributing to this release!