Skip to content

Commit 2b1e469

Browse files
committed
bumped to v0.0.8
1 parent 760ab62 commit 2b1e469

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

jaal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# import Jaal at root
22
from .jaal import Jaal
33
# version in setup fetched from here
4-
__version__ = "0.0.7"
4+
__version__ = "0.0.8"

jaal_call.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# import
22
from jaal import Jaal
33
from jaal.datasets import load_got
4+
45
# load the data
56
edge_df, node_df = load_got()
6-
# init Jaal and run server
7-
Jaal(edge_df, node_df).plot(debug=True)
7+
8+
# define vis options
9+
vis_opts = {'height': '600px', # change height
10+
'interaction':{'hover': True}, # turn on-off the hover
11+
'physics':{'stabilization':{'iterations': 100}}} # define the convergence iteration of network
12+
13+
# init Jaal and run server (with opts)
14+
Jaal(edge_df, node_df).plot(vis_opts=vis_opts)
15+
16+
# init Jaal and run server (with default options)
17+
# Jaal(edge_df, node_df).plot()

0 commit comments

Comments
 (0)