summaryrefslogtreecommitdiffstats
path: root/src/Canvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-02-12Work around broken Graphviz header warningsDavid Robillard1-0/+5
2016-09-18Update copyright datesDavid Robillard1-1/+1
2016-08-01Use consistent feature test macrosDavid Robillard1-0/+1
2016-07-31Fix compilation with C++David Robillard1-1/+1
2016-07-24Fix whitespaceDavid Robillard1-1/+1
2015-10-26Add support for edges that do not constrain the layoutDavid Robillard1-2/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5792 a436a847-0d15-0410-975c-d299462d15a1
2015-10-05Highlight connected edges on port hoverDavid Robillard1-5/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5745 a436a847-0d15-0410-975c-d299462d15a1
2015-03-16Fix removal of non-existent idle callbacks.David Robillard1-3/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5638 a436a847-0d15-0410-975c-d299462d15a1
2015-02-28Clear selected edges list along with selection.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5610 a436a847-0d15-0410-975c-d299462d15a1
2015-02-28Remove animate idle callback on destruction.David Robillard1-0/+2
This should have already been the case, but g_idle_remove_by_data doesn't seem to be doing what it should. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5609 a436a847-0d15-0410-975c-d299462d15a1
2015-02-24Add light theme for typesettable canvas export.David Robillard1-2/+18
Don't show edge handles on export. Fix port control drawing to be pixel perfect. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5605 a436a847-0d15-0410-975c-d299462d15a1
2015-02-22Fix offset of graph layout with circles.David Robillard1-4/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5594 a436a847-0d15-0410-975c-d299462d15a1
2015-02-21Add API to specify module port order.David Robillard1-10/+38
Also fix various redundant resize/update issues, improve performance. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5592 a436a847-0d15-0410-975c-d299462d15a1
2015-02-20Fix connecting to ports with controls.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5589 a436a847-0d15-0410-975c-d299462d15a1
2015-02-20Dampen sprung layout energy over time to prevent oscillation.David Robillard1-5/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5588 a436a847-0d15-0410-975c-d299462d15a1
2015-02-17Delete trailing whitespace.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5582 a436a847-0d15-0410-975c-d299462d15a1
2015-02-16Preserve selection for quickly making several connections.David Robillard1-5/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5575 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Add support for exporting canvas as PDF or PS.David Robillard1-0/+65
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5543 a436a847-0d15-0410-975c-d299462d15a1
2015-02-05Fix crash when destroying canvas.David Robillard1-1/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5532 a436a847-0d15-0410-975c-d299462d15a1
2014-11-07Fix compilation with --no-fdgl (patch from Vlad Glagolev).David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5480 a436a847-0d15-0410-975c-d299462d15a1
2014-09-01Fix unexpected node jumping when dragging new connections.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5463 a436a847-0d15-0410-975c-d299462d15a1
2014-07-13Fix bug where edges would not update when nodes are moved after the canvas ↵David Robillard1-0/+1
is cleared. (Fix stuck connections in Patchage after refresh). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5412 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Fix compilation on old glib.David Robillard1-9/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5396 a436a847-0d15-0410-975c-d299462d15a1
2014-04-28Fix comments for GIR.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5382 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Fix gtk-doc comment format.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5380 a436a847-0d15-0410-975c-d299462d15a1
2014-04-27Fix layout of nodes with partners.David Robillard1-1/+7
Reduce oscillation by adding force noise. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5378 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Clean up Ganv API.David Robillard1-93/+76
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-04-10Fix dragging when modules and ports are both selected.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5365 a436a847-0d15-0410-975c-d299462d15a1
2014-04-08Fix input port selection (regression in previous commit).David Robillard1-11/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5364 a436a847-0d15-0410-975c-d299462d15a1
2014-04-07Fix selecting input ports without controls.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5363 a436a847-0d15-0410-975c-d299462d15a1
2014-04-07Hide invisible "partner" alignment edges in DOT export.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5362 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Use the same padding for arrange and zoom to fit.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5352 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Fix ganv_canvas_for_each_edge().David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5349 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30Reimplement canvas zoom.David Robillard1-50/+42
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-16Allow user to enable or disable sprung layout.David Robillard1-2/+29
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 Robillard1-190/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5339 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Clean up public canvas interface.David Robillard1-850/+883
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-11FDGL: Reduce oscillation.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5305 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Stop layout while connect dragging.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5304 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Merge GanvCanvasBase and GanvCanvas.David Robillard1-47/+1717
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Twiddle physics to reduce oscillation.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5291 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 Robillard1-0/+3
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 Robillard1-2/+3
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 Robillard1-46/+32
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-03Draw and layout performance improvements.David Robillard1-8/+10
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 Robillard1-1/+7
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 Robillard1-16/+15
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 Robillard1-1/+1
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