6
$\begingroup$

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.

$\endgroup$
2
  • 4
    $\begingroup$ Would you please include an example of the input and the rendered output that you desire? $\endgroup$
    – Mr.Wizard
    Aug 4, 2014 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, 2018 at 12:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.