Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76010] Re: [mg75859] Left-to-Right bipartite graph drawing in version 6
  • From: bsyehuda at gmail.com
  • Date: Mon, 14 May 2007 05:53:39 -0400 (EDT)
  • References: <200705120703.DAA23798@smc.vnet.net>

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