Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9964

Re: new Graph function + combinatorica: various problems

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: new Graph function + combinatorica: various problems
Date 2012-05-05 08:12 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jo2ncp$mak$1@smc.vnet.net> (permalink)
References <ij2v05$7uu$1@smc.vnet.net> <jntg4c$1f$1@smc.vnet.net>

Show all headers | View raw


On 2012.05.03. 10:37, another.schmidt@googlemail.com wrote:
> nice. Can anybody tell me a convenient way to convert an explicit Combinatorica graph g to a System Graph g2 without using wrappers?
> Thanks a lot.
> Jesch
>

For a quick solution, you could use something like

System`Graph@Edges[g]

if g is the Combinatorica graph.  This will discard the graph layout 
(vertex positions on the plane), but will keep the structure (i.e. the 
actual graph).

-- 
Szabolcs Horvát
Visit Mathematica.SE:  http://mathematica.stackexchange.com/

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: new Graph function + combinatorica: various problems another.schmidt@googlemail.com - 2012-05-03 08:37 +0000
  Re: new Graph function + combinatorica: various problems Szabolcs Horvát <szhorvat@gmail.com> - 2012-05-05 08:12 +0000

csiph-web