wimrijnders
98c0922d63
Consolidate code for determining the pixel ratio ( #3088 )
* Consolidate code for determining the pixel ratio
* - Removed local param 'pixerRatio' from CanvasRenderer. Now only canvas.pixelRatio is used.
- consolidated ctx.transform() calls in Canvas
- Added/edited commenting (also TODO's)
- Added Canvas.getContext()
7 years ago
wimrijnders
87cd18230d
Add prefix to cancelAnimationFrame() ( #3087 )
7 years ago
David Anderson
becf18e6eb
feat: change styles if element is selected ( #2446 )
* element characteristic changes
* assume edge color inheritance is correct before choosing
* Adjust nodes’ chosen’s boolean -> bool
* Need to get user-reset size
* make example edges thicker for more noticeable shadow
* preemptive ES6 fix (see #2500/#2501)
* documentation for the feature that was previously overwritten
7 years ago
Alex de Mulder
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
8 years ago
Alex de Mulder
486cf53055
Added a debug mode to visualize the forces on nodes (very cool :))
9 years ago
Alex de Mulder
6581f56c63
- Fixed bug that broke the network if drawn in a hidden div #1254
9 years ago
Alex de Mulder
3f5c71eea3
- Fixed critical camera zoom bug #1273 . #1266 , #1255
- unified some methods in the networkUtil
- Fixed initial zoom issues #1252
9 years ago
Alex de Mulder
5dba668fb8
- prerelease.2
9 years ago
Alex de Mulder
3ab17e2cb0
Fixed node resizing on dragging.
9 years ago
Alex de Mulder
f7eee473bd
fixed accidental redrawing during stabilization. Fixed infinite recursion when fixing node without coordinates
9 years ago
Alex de Mulder
629e5965c2
- Improved robustness against people molesting the Function.prototype.bind()
9 years ago
Alex de Mulder
34be08fd51
- Improved robustness against people molesting the Function.prototype.bind()
9 years ago
Alex de Mulder
ad2d70ed8b
fixed numerous clustering bugs, added more examples, numerous other bug fixes
9 years ago
Alex de Mulder
c3883970e4
numerous bugfixes, partial progress with examples
9 years ago
Alex de Mulder
ccbdd46cc4
fixed bounding box bug, added function filter to configuration system
9 years ago
Alex de Mulder
5b7a90f4dc
added multiselect, reworked options
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
04fb1aea64
added a setSize to the redraw function
9 years ago
Alex de Mulder
bdf11324d1
fixed buttons
9 years ago
Alex de Mulder
6b770a3158
fixed destroy!
9 years ago
Alex de Mulder
517263a27e
minor changes, adhere to ES6 in bezier edge dynamic
9 years ago
jos
7248587d67
Removed spam
9 years ago
Alex de Mulder
5f4ebd0794
patched redraw requests with image load callbacks during stabilization. Fixed size option correctly working for images and circular images.
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
c68f6d7a12
fixed more bugs in options, we now have a generate options button!
9 years ago
Alex de Mulder
6bdad7ee75
fixed bugs, restyled colorPicker
9 years ago
Alex de Mulder
a30c994e92
finalized a very fancy option configurator with a fancy color picker for color fields!
9 years ago
Alex de Mulder
39eb2e5079
most of the manipulation is now in 4.0
9 years ago
Alex de Mulder
5b7c3018d3
added edge arrow shorthand
9 years ago
Alex de Mulder
b28af6faa5
hierarchical system is now working and original x or y values are retained
9 years ago
Alex de Mulder
a903ec454d
moved arrows to baseEdge, gave the straight edge a + 50% length in the physics.
9 years ago
Alex de Mulder
3fda5397c4
made labels seperate. Needs cleaning up and comments
9 years ago
Alex de Mulder
ca11929e85
put all nodes and edges into one container. keep track of indices for visible and physics activated nodes
9 years ago
Alex de Mulder
333ec38c3c
started creation of the edges handler and the nodes handler. currently broken.
9 years ago
Alex de Mulder
208da974db
tweaks. NagivationMixin has now been ported along with keyboard bindings using keycharm.
9 years ago
Alex de Mulder
084c19400e
interaction tweaks
9 years ago
Alex de Mulder
a294f98686
working events like zoom and drag, testing on mobile still to be done.
9 years ago
Alex de Mulder
3541260108
work in progress of porting the event handlres
9 years ago
Alex de Mulder
fd06e8e81e
reasonably success in decoupling the rendering and the network by segmenting a canvas, view (for camera controls) and renderer.
9 years ago