MathGroup Archive 2007

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

Search the Archive

Re: Suppress Arrowheads (Combinatorica)


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)