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
>
>
>
- References:
- Left-to-Right bipartite graph drawing in version 6
- From: BH <bhshen@gmail.com>
- Left-to-Right bipartite graph drawing in version 6