summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-03-30Reimplement canvas zoom.David Robillard15-245/+166
Make select rectangle translucent. Make ctrl+scroll wheel zoom, not change font size. Add separate controls in Patchage for zoom (scale) and font size. Banish canvas coordinates from item implementations. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5345 a436a847-0d15-0410-975c-d299462d15a1
2014-03-16Don't trigger layout when node is selected (fix #959).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5342 a436a847-0d15-0410-975c-d299462d15a1
2014-03-16Allow user to enable or disable sprung layout.David Robillard3-3/+47
This setting is saved with the patch so sprung patches remain sprung when loaded again, but manually arranged patches won't be mangled. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5340 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Clean up public canvas interface.David Robillard4-245/+293
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5339 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Clean up public canvas interface.David Robillard20-1159/+1033
Eliminate thin C wrappers around C++ methods (move actual implementation into C). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5338 a436a847-0d15-0410-975c-d299462d15a1
2014-01-18Fix some minor issues found by clang.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5318 a436a847-0d15-0410-975c-d299462d15a1
2014-01-12Tidy.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5306 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11FDGL: Reduce oscillation.David Robillard2-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5305 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Stop layout while connect dragging.David Robillard2-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5304 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Merge GanvCanvasBase and GanvCanvas.David Robillard16-2159/+1988
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Make some functions private.David Robillard6-42/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5301 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Tidy.David Robillard1-13/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5300 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Separate item.h.David Robillard11-202/+219
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5299 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Move item implementation to item.c.David Robillard3-779/+825
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5298 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Remove debug printf.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5296 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Twiddle physics to reduce oscillation.David Robillard2-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5291 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix sizing of vertical modules with embedded widgets.David Robillard1-6/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5259 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix documentation pane.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5256 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix control updating with animated canvas.David Robillard3-1/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5254 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Make only control inputs controllable by user.David Robillard4-4/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5251 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix select rectangle drag from bottom right to top left.David Robillard4-70/+105
Simplify layout code. Calculate rectangle distance instead of center distance to minimize overlap. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5250 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Improve performance by avoiding unnecessary i2w conversions.David Robillard5-8/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5249 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Draw and layout performance improvements.David Robillard7-91/+78
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5248 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Make graph input ports controllable outputs and remove double port kludge.David Robillard3-2/+32
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5247 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Don't abuse show_label property for vertical/horizontal mode.David Robillard4-36/+31
Don't use g_object_get to get x and y coordinates of items. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5246 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Make repelling forces directionally proportional to area for tighter ↵David Robillard2-3/+5
spacing. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5241 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Increase maximum simulation time to converge faster on larger graphs.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5238 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Tweak variables for better directional layout.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5235 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31Fix incorrect port offsets.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5233 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31Fix incorrect port offsets.David Robillard3-51/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5232 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Attempt to use whichever graphviz version is present.David Robillard1-8/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5231 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Fix compiling against Graphviz 2.3*.David Robillard1-43/+51
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5230 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Remove trailing whitespace.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5228 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Fix control sensitivity.David Robillard1-5/+4
Fix controls close to screen edge. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5223 a436a847-0d15-0410-975c-d299462d15a1
2013-12-28Fix confusing configuration summary.David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5221 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Enable FDGL by default.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5218 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Remove dead code.David Robillard4-86/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5215 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Performance improvements.David Robillard11-182/+179
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5214 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Load waf modules before everything else so CFLAGS and friends are correct ↵David Robillard1-2/+2
(oops). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5204 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Tidy up configuration output.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5203 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Fix more const-correctness violations.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5196 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Update to r94/autowaf.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5195 a436a847-0d15-0410-975c-d299462d15a1
2013-12-21Fix broken ganv_item_move prototype.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5192 a436a847-0d15-0410-975c-d299462d15a1
2013-12-21FDGL: Make layout converge and stop chewing CPU when done again.David Robillard2-12/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5191 a436a847-0d15-0410-975c-d299462d15a1
2013-12-20FDGL: Use inverse cubic charge law and tide force to prevent graph explosion.David Robillard2-17/+56
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5190 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19Update to waf 1.7.14.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5188 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard4-1/+16
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5186 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard5-45/+104
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5185 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL: Only install layout handler as needed.David Robillard3-16/+43
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5184 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL: Add slight directional force to push sinks to the right/down.David Robillard1-3/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5183 a436a847-0d15-0410-975c-d299462d15a1