Dennis Hotson
9654b64f85
Merge pull request #98 from iangilman/render
...
Changed onRender to onRenderFrame
6 years ago
Ian Gilman
8beaeff267
Changed onRender to onRenderFrame
6 years ago
Dennis Hotson
73ecbc773c
Merge pull request #97 from iangilman/render
...
Added onRender callback for after each frame
6 years ago
Ian Gilman
73fd49c58a
Added onRender callback for after each frame
6 years ago
Dennis Hotson
6158298c9e
Merge pull request #85 from mwcz/max-speed
...
add maxSpeed parameter to Layout.ForceDirected constructor
7 years ago
mwcz
e490969ea0
add maxSpeed parameter to Layout.ForceDirected constructor
8 years ago
Dennis Hotson
559a400331
Merge pull request #70 from shigeruNakajima/node_color
...
Add nodes a 'color' property.
10 years ago
Dennis Hotson
921b3e83e5
Fix whitespace
10 years ago
Dennis Hotson
6f99308b44
Small fix to UMD wrapper
10 years ago
Dennis Hotson
fd785d8b10
Version bump
10 years ago
Dennis Hotson
6716fab883
Universal module pattern (for browserify support)
10 years ago
shigeru.nakajima
322a7bae8b
Add node color.
10 years ago
Dennis Hotson
4480a8e3ff
Bump to 2.6.1
10 years ago
Dennis Hotson
c41ff98d3c
Bump version to 2.6.0
10 years ago
Dennis Hotson
d3c3be9325
Merge pull request #67 from lgvalent/patch-1
...
Update springyui.js
10 years ago
Lucio Valentin
487afff1b2
Update springyui.js
...
A simple error at end of line 35.
10 years ago
Dennis Hotson
db74df106c
Merge pull request #65 from Irrational86/master
...
Fixed order of 'onRenderStop' and 'onRenderStart' parameters when calling this.layout.start()
10 years ago
Dennis Hotson
c14da4feae
Merge pull request #66 from Irrational86/springyui-minEnergyThreshold
...
Enabled the ability to specify the parameter 'minEnergyThreshold' in springyui.js
10 years ago
Jesse
f51be2fc48
Enabled the ability to specify the parameter 'minEnergyThreshold' in springyui.js.
...
Also made the default value in springyui be very small, in order to cause the animation to end/stop smoothly.
10 years ago
Jesse
b3145ce522
Fixed order of 'onRenderStop' and 'onRenderStop' parameters when calling this.layout.start().
10 years ago
Dennis Hotson
0a588deed6
Bumped version to 2.5.0
10 years ago
Dennis Hotson
441ccfcc2b
Added `tick` for manually stepping through simulation
10 years ago
Dennis Hotson
f64bda19bc
Bumped verison to 2.4.0
10 years ago
Dennis Hotson
1d51239af1
Merge pull request #63 from WebOnWebOff/master
...
Allow configuration of minimum energy threshold
10 years ago
'WebOnWebOff'
50eed3e039
Allow configuration of minimum energy threshold
10 years ago
Dennis Hotson
28ca9cc5be
Bumped version to 2.3.0
10 years ago
tdhsmith
6cb2dd813f
Added auto text orientation for edge labels
...
Added new boolean option edgeLabelsUpright which makes edge labels automatically flip over the edge when they are upside-down. Addresses readability aspect of #56 .
10 years ago
tdhsmith
9eb89a03cf
License mistake
...
Project standard doesn't seem to list all contributors in the license, so removed myself
10 years ago
tdhsmith
96f889ca41
Added basic functionality for image nodes
...
Extended the drawNode function to include basic image drawing. Adjusted the height and width functions to accommodate natural image dimensions as well as those set with node.data.image.width etc.
10 years ago
Dennis Hotson
98369ebcb9
Consistent version number bump
11 years ago
Dennis Hotson
fae78f1055
Bump version to 2.2.1
11 years ago
Dennis Hotson
36a98b03cd
Font size bug fix
11 years ago
Dennis Hotson
e2e24d0601
Bump version to 2.2.0
11 years ago
Dennis Hotson
00cbc7f64e
Improved calculation of text angle and spacing
11 years ago
Dennis Hotson
36c885871e
Merge remote-tracking branch 'oak-tree/master'
...
* oak-tree/master:
set label of edge at the angle of this edge.
11 years ago
Dennis Hotson
4ed5f13302
Whitespace fixes
11 years ago
Dennis Hotson
c7f7d040ec
Bumped version
11 years ago
Dennis Hotson
cec178680f
Switch order of onRenderStop and onRenderStart to preserve backwards compat
11 years ago
Dennis Hotson
ac17d28337
Merge remote-tracking branch 'fabiankessler/master'
...
* fabiankessler/master:
Render start and stop callbacks for all cases.
Documented that start() is silently ignored if running.
added done callback to renderer start method.
updated copyright year
11 years ago
cp123127
1b85a2e9b8
Fixed bug that causes inconsistant behavior for highlighting selected nodes.
11 years ago
Dennis Hotson
bcd9efd220
Whitespace fix
11 years ago
Dennis Hotson
a1f848d8d3
Merge pull request #44 from mikeleber/patch-1
...
Update springyui.js
11 years ago
oak-tree
4acb7e9fb7
set label of edge at the angle of this edge.
...
moreover, if two vertices have more than 1 edge allow each edge to have its own label. make sure each labels does not interfere each other.
11 years ago
Dennis Hotson
8be075d656
Add springy to bower
11 years ago
mikeleber
4adb4308dd
Update springyui.js
...
font property for nodes and edges
graph.newEdge(AHM_10, AHM_50 ,{font:'10px Verdana, sans-serif', label: 'ablehnen', color: '#97f23d'});
11 years ago
Fabian Kessler
81213595ed
Render start and stop callbacks for all cases.
...
Rendering can happen on demand (by calling start()) but also when adding/removing nodes and relations. I also need to be informed when rendering starts in my use case. I have a re-arrange button that needs to be toggled whenever rendering is in progress, and with these events it's nice and clean.
When the event callbacks are passed in to the Springy.Renderer start() method only (as in my previous commit) then all the other cases are left out (adding/removing nodes/relations).
11 years ago
Fabian Kessler
ffca60dcab
Documented that start() is silently ignored if running.
11 years ago
Fabian Kessler
1b20da23e2
added done callback to renderer start method.
...
The done callback existed in the ForceDirected layout start method, but no one passed that in. Maybe I don't understand how it's meant to be used? Or something was lost on the way with refactorings in springy? Anyway, with this change it's possible to call the Springy.Renderer start() method with a done callback. Please accept it, or document how it's meant to be used. Thanks ;-)
11 years ago
Fabian Kessler
143d2d4c41
updated copyright year
...
The 2010 made me think that the project was abandoned. Also, arbor.js writes that it's based on springy. Only now that I take a closer look I see that there are recent commits.
11 years ago
Dennis Hotson
5439db1423
Added npm package.json
11 years ago