6

Mathematica can do layered graph drawing with LayeredGraphPlot or GraphLayout -> "LayeredEmbedding". Is it possible to specify which node goes on which layer instead of letting the system figure this out? Determining the precise location on the layer would be left to the layout algorithm.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
  • 4
    Would you please include an example of the input and the rendered output that you desire? – Mr.Wizard Aug 04 '14 at 21:55
  • Relevant Mathematica feature is VertexCoordinateRules, e.g. setting the x value of nodes to Automatic and specify a y value. However, this does not work with all layout methods. Another question asking from my point of view the same is https://mathematica.stackexchange.com/questions/46018/plotting-network-with-layeredgraphplot-with-specific-order. – Hotschke Sep 27 '18 at 12:37

0 Answers0