Google Groups Home
Help | Sign in
Starting a new graph
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Gutemberg Vieira  
View profile
 More options Jun 16, 9:58 am
From: "Gutemberg Vieira" <gutemberg.vie...@gmail.com>
Date: Mon, 16 Jun 2008 10:58:41 -0300
Local: Mon, Jun 16 2008 9:58 am
Subject: Starting a new graph

Hi,

Is there a method we can call or a procedure to follow to start a new graph
from zero in Guess without the need to restart the software?

Thanks
Gutemberg


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eytan Adar  
View profile
 More options Jun 16, 11:11 am
From: "Eytan Adar" <eytana...@gmail.com>
Date: Mon, 16 Jun 2008 08:11:30 -0700
Local: Mon, Jun 16 2008 11:11 am
Subject: Re: Starting a new graph

Unfortunately, you can't have multiple graphs loaded at the same time.  If
you want to delete all the nodes and edges and start from scratch you can
issue the command:

remove(g.nodes)
remove(g.edges)

If you want to go back to this version, you can save state before issuing
these commands (e.g. ss("orig") to save the current graph as "orig" and
ls("orig") to load it back)

Hope that helps,

-Eytan

On Mon, Jun 16, 2008 at 6:58 AM, Gutemberg Vieira <


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gutemberg Vieira  
View profile
 More options Jun 16, 12:18 pm
From: "Gutemberg Vieira" <gutemberg.vie...@gmail.com>
Date: Mon, 16 Jun 2008 13:18:45 -0300
Local: Mon, Jun 16 2008 12:18 pm
Subject: Re: Starting a new graph

In this case I will have that problem to load nodes with the same names as
the deleted ones?

Thanks for helping


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ilija  
View profile
 More options Jun 16, 1:43 pm
From: Ilija <il...@eccf.su.ac.yu>
Date: Mon, 16 Jun 2008 10:43:27 -0700 (PDT)
Local: Mon, Jun 16 2008 1:43 pm
Subject: Re: Starting a new graph
Hi,
 I think if you check out this tread that will solve your problem.
Basically, what you need to do is to download a
new version of jar and do some simple scripting.
http://groups.google.com/group/guess-discuss/browse_thread/thread/e27...

On 16 јун, 18:18, "Gutemberg Vieira" <gutemberg.vie...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eytan Adar  
View profile
 More options Jun 16, 3:11 pm
From: "Eytan Adar" <eytana...@gmail.com>
Date: Mon, 16 Jun 2008 12:11:42 -0700
Local: Mon, Jun 16 2008 3:11 pm
Subject: Re: Starting a new graph

That's right... although I did notice a bug related to this which I fixed
and re-uploaded.  So you should just grab a copy from
http://graphexploration.cond.org/guess.jar and overwrite the guess.jar you
have.

you can re-add nodes even with the same name now, e.g.:

addNode("bob")
remove(g.nodes)
remove(g.edges)
addNode("bob") or addNode(bob)

You can also load a different GDF file with new (or existing) nodes without
restarting.

Let me know if you still have problems with this...

-Eytan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google