Re: Include unconnected nodes in graph plot -- how?
- To: mathgroup at smc.vnet.net
- Subject: [mg112439] Re: Include unconnected nodes in graph plot -- how?
- From: "Carl K. Woll" <carlw at wolfram.com>
- Date: Wed, 15 Sep 2010 04:41:27 -0400 (EDT)
On 9/14/2010 4:15 AM, Szabolcs Horv=E1t wrote: > On 2010.09.13. 15:26, Szabolcs Horv==E1t wrote: > >> Hello, >> >> Is it possible to include unconnected nodes when plotting a graph >> (either using GraphPlot or some Combinatorica function)? >> > To answer my own question, Combinatorica's ShowGraph does this. But I > still wonder, is it possible with GraphPlot? > > You can do this with GraphPlot if you use an adjacency matrix, e.g., GraphPlot[{{1, 0, 0}, {0, 0, 1}, {0, 1, 0}}] Carl Woll Wolfram Research