MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

LayeredGraphPlot without edge crossing.

  • To: mathgroup at
  • Subject: [mg88270] LayeredGraphPlot without edge crossing.
  • From: Kurda Yon <kurdayon at>
  • Date: Wed, 30 Apr 2008 04:24:38 -0400 (EDT)


I have a tree-structure-data which I would like to plot. If I use
TreePlot, the plot looks very similar to what I need. However, the
plot algorithm does not pay attention on the direction of edges. I
would like to have in tree in which elements from the first layer show
on the elements of the second layer and so on.

I tried to use LayeredGraphPlot. It solves the problem. However, the
second problem appears. The elements in every layer are ordered in a
way that gives a lot of crossing between edges.

So, can I force LayeredGraphPlot to optimize the elements withing a
layer in a way that minimize number of edges crossing? Or can I force
TreePlot to pay attention on the direction of edges?

Thank you!

  • Prev by Date: Old Toolbar from 5.2 to 6.0.2
  • Next by Date: Re: Does Mathematica really need more printed, introductory documentation?
  • Previous by thread: Re: Old Toolbar from 5.2 to 6.0.2
  • Next by thread: ContourPlot3D and positive contours