score:1
OK i worked out my problem.
I was doing the check and change on d.fixed in the dragstart method.
Moving the code to the dragend method resolved the problem.
I guess dragstart has some different behavior that i expected
Source: stackoverflow.com
Related Query
- D3 force directed graph with drag and drop support to make selected node position fixed when dropped
- Make a fixed node in d3.js un-fixed
- How can I make double click event on node in d3.js?
- How to make graphs in dc.js scrollable within a fixed dimension div?
- How can I connect two parent node into one child node and how to make a tooltip for each node in the tree pragmatically? in D3 js (SVG)
- How to add a force drag event in D3 and make the node stay where i leave it?
- d3 make Y axis position fixed even the scroller x
- Is there a way to make the nodes draggable/to another parent or child node to rearrange the nodes in d3.js
- How to make d3js force directed graph less shaky when a node is dragged?
- D3.js: Cannot make Y axis scrollable and X axis fixed
- D3 v4 - make a horizontal bar chart with fixed width
- d3.js force directed graph: How to make node size depends on the value of the links?
- D3.js v4 Force layout and fixed node anomaly
- D3 Tree: How to make children checked and disabled recursively when the parent node is checked
- Trying multiple approaches to make the node size of a force directed graph proportional to it's degree
- Make the y-axis fixed irrespective of the content of the chart
- d3 dendogram, is there a way to make a single node standout?
- how to make sankyplots with no color for source and target node and how to do legend to show the different colors of linkgroup
- How can I make last node in d3 zoomable sunburst as a hyperlink?
- how do i make draggable circles around a fixed circle - d3.js
- how to make child nodes of tree layout collapsing into parent node when clicked
- What's the best way to make a d3.js visualisation layout responsive?
- How do I remove all children elements from a node and then apply them again with different color and size?
- Fix Node Position in D3 Force Directed Layout
- d3 Node Labeling
- How to make force layout graph in D3.js responsive to screen/browser size
- How to get data of parent node in d3.js
- Add text label to d3 node in Force directed Graph and resize on hover
- d3js: make new parent data descend into child nodes
- Unable to get node datum on mouseover in D3 v6
More Query from same tag
- Drag events not getting fired easily using d3-drag on svg elements
- Force directed graph stops being responsive
- Pre determined x and y values of the tree layout
- how do I add another line dynamically?
- Creating Dynamic Fullscreen and Minimize Div Functions
- Creating nested HTML structures with D3.js
- append("a") in y label of d3 graph, effect image downlaod function in firefox and safari
- convert shp to topoJSON failing
- Time always becoming epoch-time and out of domain range
- Save selected D3.js Treemap nodes to local file
- Failing to Load geoJSON for d3.js in Gist
- Nested JSON loadings in D3.js
- ds3 drawing json data from mysql
- d3.js how to calculate percentage of bar on hover
- Adding mouse scroll effect to html "range" element (with step movements only)
- D3.js bug on Android vs iOS
- Hover on legend and hover on path effect in nvD3
- Filter nodes for D3 directed graph dynamically
- Fire event during a transition
- Ragged list or data frame to JSON
- Create grouped items within swimlane on D3.js timeline chart
- How to position path to node center in tree layout
- Tooltip issue with a D3 Choropeth Map
- D3 force layout forceY does not map to range
- How to replace a d3js nest function with group and rollup
- Javascript 'map' not supported in IE WebBrowser control?
- Changing the appearance of D3 links
- Any one know how to Apache hive data visualization using D3js?
- d3 arc transition anticlockwise not clockwise
- d3 prevent firing of mouseout on contextmenu