Skip to content

Commit

Permalink
Merge pull request #29 from vinloo/pr-vinloo
Browse files Browse the repository at this point in the history
Fix position when node is dragged ("sticky")
  • Loading branch information
erdogant authored Aug 22, 2023
2 parents 512da04 + 001321a commit f2eb354
Show file tree
Hide file tree
Showing 7 changed files with 19,180 additions and 9,753 deletions.
2 changes: 1 addition & 1 deletion d3graph/d3graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self,
self.config['support'] = get_support(support)
# Set paths
self.config['curpath'] = os.path.dirname(os.path.abspath(__file__))
self.config['d3_library'] = os.path.abspath(os.path.join(self.config['curpath'], 'd3js/d3.v3.js'))
self.config['d3_library'] = os.path.abspath(os.path.join(self.config['curpath'], 'd3js/d3.v4.js'))
self.config['d3_script'] = os.path.abspath(os.path.join(self.config['curpath'], 'd3js/d3graphscript.js'))
self.config['css'] = os.path.abspath(os.path.join(self.config['curpath'], 'd3js/style.css'))

Expand Down
Loading

0 comments on commit f2eb354

Please sign in to comment.