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: Suppress Arrowheads (Combinatorica)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75406] Re: [mg75381] Suppress Arrowheads (Combinatorica)
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 28 Apr 2007 06:01:43 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Needs["DiscreteMath`Combinatorica`"];

G = FromOrderedPairs[{{2,1},{1,3},{3,2}},
      Type->Undirected];

ShowGraph[G];


Bob Hanlon

---- Bruce Colletti <vze269bv at verizon.net> wrote: 
> Re Combinatorica found in Mathematica 5.2.  
> 
> How would I "simply" suppress (hopefully via a ShowGraph option) the arrowheads that ShowGraph displays for a DIRECTED graph? 
> 
> For instance, let G = FromOrderedPairs@{{2,1},{1,3},{3,2}} (a digraph since Directed appears in the graph object).  ShowGraph@G displays the arrowheads and hoping to suppress these, I instead enter: 
> 
> ShowGraph[G, EdgeDirection->False]
> 
> Unfortunately, the arrowheads still appear.  
> 
> Although ShowGraph@FromOrderedPairs[{{2,1},{1,3},{3,2}},Type->Undirected] succeeds, I'd rather not tinker with a digraph's Type.  Instead, I wonder if this can be "simply" done via ShowGraph.   Any ideas?
> 
> Thanks.
> 
> Bruce
> 
> 



  • Prev by Date: Re: Map vs. Table
  • Next by Date: Re: Map vs. Table
  • Previous by thread: Suppress Arrowheads (Combinatorica)
  • Next by thread: Re: Re: Suppress Arrowheads (Combinatorica)