Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'graphs' topicStudent Support Forum > General > Archives > "graphs"

Next Comment >Help | Reply To Topic
Author Comment/Response
john
05/31/08 11:10am

I want to make a complete graph with 3 verticles and then create a sub graph with one edge less from the complete graph.

why dosn't the code shows the sub graph?

complete = CompleteGraph[3];
ShowGraph[complete, VertexNumber -> On];

subGraph = complete;
subGraph = Drop[Edges[subGraph], 1];
ShowGraph[subGraph]


URL: ,

Subject (listing for 'graphs')
Author Date Posted
graphs john 05/31/08 11:10am
Re: graphs Xavier 06/02/08 11:26am
Re: Re: graphs yehuda ben-s... 06/02/08 3:24pm
Re: Re: Re: graphs Xavier 06/02/08 11:47pm
Next Comment >Help | Reply To Topic