Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Hasse Diagram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97016] Re: Hasse Diagram
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Mon, 2 Mar 2009 05:21:50 -0500 (EST)
  • References: <godm74$49g$1@smc.vnet.net>

Tony,

Don't know much about this stuff and the Combinatorica documentation
is far from complete, but I pieced together something that works.
Remember that the input for a HasseDiagram must be an acyclic graph,
otherwise it returns unevaluated.

ShowGraph[
 HasseDiagram[
  FromAdjacencyMatrix[
  {
     {0, 1, 1, 1},
     {0, 0, 1, 1},
     {0, 0, 0, 0},
     {0, 0, 0, 0}
  }, Type -> Directed
 ]
], VertexLabel -> True
]


Cheers -- Sjoerd
On Mar 1, 11:57 am, Tony <aeza... at optonline.net> wrote:
> Hi
> I'm trying to display and manipulate a Hasse Diagram with 16 vertices. =
 Can someone help with the syntax
> thanks



  • Prev by Date: altering axeslabel positions
  • Next by Date: Re: How to Export the "Manipulate"
  • Previous by thread: Hasse Diagram
  • Next by thread: Re: Hasse Diagram