[Date Index] [Thread Index] [Author Index]
Re: Where is ShowGraph?
g = GraphData["KnightsTour"]; Length[g] 44 g has 44 graphs. To see all of them: Partition[Append[GraphData /@ g, ""], 3] // Grid Bob Hanlon On Mon, Apr 9, 2012 at 5:32 AM, James Stein <mathgroup at stein.org> wrote: > > I assume Combinatorica comes preloaded with Mathematica 8, because my > attempt to load Combinatorica gives an error message "Combinatorica Graph > and Permutations functionality has been superseded by preloaded > functionaliy[sic]." > > And indeed, so it seems, as this code works fine: > g = GraphData["KnightsTour"] > resulting in an apparently sensible list structure for g. > > However, online documentation for Combinatorica describes a routine > ShowGraph, giving this example: > ShowGraph[CompleteGraph] > But ShowGraph is not defined (apparently not preloaded). Indeed, > 'ShowGraph' appears in blue text (undefined) in the aforementioned > documentation page. > > I visited www.combinatorica.com, as suggested by the documentation, without > edification. > > What am I missing? How do I display the graph 'g'? >