MathGroup Archive 2007

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

Search the Archive

Re: Left-to-Right bipartite graph drawing in version 6


Hi,
You may use the Combinatorica package that was also modified to work on
version 6
I modified your code a little bit
<< Combinatorica`
ShowGraph[
 RankedEmbedding[
  FromUnorderedPairs[Join @@ Outer[List, {1, 2}, {3, 4, 5}]], {1, 2}],
  VertexNumber -> On]

yehuda

On 5/12/07, BH <bhshen at gmail.com> wrote:
>
> In drawing bipartite graphs, the result given in the example below is
> the best I can get so far (Version 6). The partites has top-to-down
> layout. However, I am looking for a layout where one partite is on the
> left side while the other is on the right side. Any method to get this
> done is welcome (preferable by new graph commands in version 6).
> Thanks.
>
> GraphPlot[Join @@ Outer[Rule, {a, b}, {x, y, z}],
> VertexLabeling -> True, Method -> "LayeredDigraphDrawing"]
>
> BH
>
>
>



  • Prev by Date: Re: Re: error message Convert::incomp in units package of Mathematica 6.0
  • Next by Date: Re: HoldForm
  • Previous by thread: Left-to-Right bipartite graph drawing in version 6
  • Next by thread: Re: Left-to-Right bipartite graph drawing in version 6