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.

  • 3
    $\begingroup$ Would you please include an example of the input and the rendered output that you desire? $\endgroup$ – Mr.Wizard Aug 4 '14 at 21:55
  • $\begingroup$ 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 mathematica.stackexchange.com/questions/46018/…. $\endgroup$ – Hotschke Sep 27 '18 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.