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 <
On Mon, Jun 16, 2008 at 12:11 PM, Eytan Adar <eytana...@gmail.com> wrote: > 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 < > gutemberg.vie...@gmail.com> wrote:
>> 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?
> In this case I will have that problem to load nodes with the same names as
> the deleted ones?
> Thanks for helping
> On Mon, Jun 16, 2008 at 12:11 PM, Eytan Adar <eytana...@gmail.com> wrote:
> > 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 <
> > gutemberg.vie...@gmail.com> wrote:
> >> 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?
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...
On Mon, Jun 16, 2008 at 10:43 AM, Ilija <il...@eccf.su.ac.yu> wrote:
> 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.
> On 16 јун, 18:18, "Gutemberg Vieira" <gutemberg.vie...@gmail.com> > wrote: > > In this case I will have that problem to load nodes with the same names > as > > the deleted ones?
> > Thanks for helping
> > On Mon, Jun 16, 2008 at 12:11 PM, Eytan Adar <eytana...@gmail.com> > wrote: > > > 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 < > > > gutemberg.vie...@gmail.com> wrote:
> > >> 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?