Skip to content

Commit 4872fc4

Browse files
author
massimo.santini
committed
Updated the Ubigrpah commands
1 parent 3d674f6 commit 4872fc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/quickstart/console.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The pyWebGraph console is meant as a tool to explore WebGrph data. A sample sess
2121
0: #1 http://acireale.src.cnr.it/acireale2001/
2222
1: #342 http://acireale.src.cnr.it/htm/diretta.htm
2323
...
24-
>> cn http://acireale.src.cnr.it/acireale2001/
24+
>> cn "http://acireale.src.cnr.it/acireale2001/"
2525
2626
First of all you load a graph with the :samp:`graph` command, then you can explore it (much like you would do with your filesystem): using :samp:`pwn` and :samp:`cn` (to print and change, respectively, the working node) and using :samp:`ls` to list outlinks. Additionaly, with :samp:`namemaps`, you can load a map from node numbers to their names (and *vice versa* if possible) that will be used when printing (and identifying) nodes.
2727

@@ -45,16 +45,16 @@ The :dfn:`current working node` is a given node of the graph. A :dfn:`path` is a
4545
Visualization
4646
-------------
4747

48-
If the console is given the ``-r/--renderer`` command line option pointing to a Ubigraph server, then the console can be used to visualize WebGraph data using the commands :samp:`add`, :samp:`highlight`, :samp:`label`, and :samp:`clear`; please use the :samp:`help` console command for details.
48+
If the console is given the ``-r/--renderer`` command line option pointing to a Ubigraph server, then the console can be used to visualize WebGraph data using the commands :samp:`bfs`, :samp:`isg`, :samp:`hl`, :samp:`label`, and :samp:`clear`; please use the :samp:`help` console command for details.
4949

5050
A sample session could be::
5151

5252
$ jython -m pywebgraph.console -r-
5353
Welcome to pyWebGraph console!
5454
>> graph example
5555
>> namemaps example
56-
>> add 0
57-
>> add 1
56+
>> bfs 0
57+
>> bfs 1
5858
>> label 0 on
5959

6060
This could give an output like

0 commit comments

Comments
 (0)