Skip to content

Commit

Permalink
fixes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
Giancarlo committed Jun 29, 2020
1 parent 6bd866e commit b3993e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvis/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,8 @@ def force_atlas_2based(
"""
self.options.physics.use_force_atlas_2based(locals())

def to_json(self, **args):
return jsonpickle.encode(self, **args)
def to_json(self, max_depth=1, **args):
return jsonpickle.encode(self, max_depth=max_depth, **args)

def set_edge_smooth(self, smooth_type):
"""
Expand Down

0 comments on commit b3993e7

Please sign in to comment.