summaryrefslogtreecommitdiffstats
path: root/src/Canvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-12-18FDGL: Add spring between partners so interface modules line up in Patchage.David Robillard1-5/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5181 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Futher FDGL performance improvements.David Robillard1-9/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5180 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL performance improvements.David Robillard1-3/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5179 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Add experimental (slow) force-directed graph layout to Ganv.David Robillard1-0/+124
This continuously arranges the graph, and the user can drag around nodes to influence the layout which is handy. To try, configure with --no-graphviz --fdgl. Still rough around the edges, in particular detached nodes will fly off into space. Also entirely too slow for production use, will need a more sophisticated data structure for that, so the repel calculation isn't O(n^2). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5177 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Fix compilation with --jack-dbus (#917).David Robillard1-0/+6
I don't know why I maintain this or what the point of it is... git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5141 a436a847-0d15-0410-975c-d299462d15a1
2013-06-08Fix sizing for ports with enumeration or integer tag labels.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5123 a436a847-0d15-0410-975c-d299462d15a1
2013-05-31Fix access to invalid parameter in Canvas::zoom_full().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5118 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5088 a436a847-0d15-0410-975c-d299462d15a1
2013-02-09Fix crash when making a connection from a node that is destroyed (#884).David Robillard1-32/+40
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5049 a436a847-0d15-0410-975c-d299462d15a1
2013-02-03Port control performance improvements (further improvement for #879).David Robillard1-3/+3
Only request a redraw, not a full update, where appropriate. Use a raw double instead of GVariant for port control-changed signal. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5045 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02GUI support for integer controls.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5034 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Fix drag connecting.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5021 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Better dot rendering and auto-arrange for graphs with circles.David Robillard1-12/+30
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4955 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13ganv_canvas_destroy => ganv_canvas_clear.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4952 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Fix selection dash for circles.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4933 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Fix arrange with circles on the canvas.David Robillard1-5/+12
Add ganv_circle_get_radius(). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4931 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Improve port control sliders to make it easier to reach minimum / maximum value.David Robillard1-9/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4879 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Implement item stacking.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4876 a436a847-0d15-0410-975c-d299462d15a1
2012-11-18Disconnect animation signal when canvas is destroyed (fix potential crashes ↵David Robillard1-1/+2
on shutdown). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4830 a436a847-0d15-0410-975c-d299462d15a1
2012-11-14Fix wonky edge selection behaviour when selecting ports.David Robillard1-26/+45
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4814 a436a847-0d15-0410-975c-d299462d15a1
2012-09-30Redraw edge areas when edges are removed to avoid fragments.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4795 a436a847-0d15-0410-975c-d299462d15a1
2012-09-18Fix full zoom when circles are on the canvas.David Robillard1-10/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4791 a436a847-0d15-0410-975c-d299462d15a1
2012-09-17Add Canvas::remove_edge and allow for_each_edge to be used to remove edges.David Robillard1-2/+14
Add Edge handle_radius accessors. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4777 a436a847-0d15-0410-975c-d299462d15a1
2012-07-26Attach arrows to correct location on ports in Graphviz output.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4563 a436a847-0d15-0410-975c-d299462d15a1
2012-07-26Use Graphviz HTML table support to precisely describe node layouts.David Robillard1-59/+106
Convert to/from graphviz and canvas coordinate units correctly. Arrange canvas precisely to match Graphviz layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4562 a436a847-0d15-0410-975c-d299462d15a1
2012-05-23Fix wacky jumping modules problem.David Robillard1-7/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4454 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix node selection so setting "selected" property does the right thing.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4369 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Round auto-arrange coordinates to nearest integer and spread things out a ↵David Robillard1-2/+2
bit more. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4291 a436a847-0d15-0410-975c-d299462d15a1
2012-04-26Fix O(n_edges) Canvas::get_edge() to be O(lg(n_nodes)).David Robillard1-17/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4275 a436a847-0d15-0410-975c-d299462d15a1
2012-04-26Tidy.David Robillard1-29/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4274 a436a847-0d15-0410-975c-d299462d15a1
2012-04-25Move more functionality down to C canvas.David Robillard1-139/+135
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4271 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Move more implementation to C GanvCanvas.David Robillard1-99/+71
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4265 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix font size stuff.David Robillard1-27/+41
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4262 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix downward signal flow display (i.e. port labels disabled).David Robillard1-5/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4260 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix control port dragging.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4231 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix bulk connect via port selection.David Robillard1-5/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4225 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Squeeze blank lines.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4113 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4112 a436a847-0d15-0410-975c-d299462d15a1
2012-03-12Make port controls actually do something.David Robillard1-1/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4051 a436a847-0d15-0410-975c-d299462d15a1
2012-03-09Fix "disconnect all".David Robillard1-6/+33
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4036 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3963 a436a847-0d15-0410-975c-d299462d15a1
2012-01-14Fix errors on canvas and/or edge destruction.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3941 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Fix click to connect/disconnect.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3904 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Fix every port drawn after a selected port also appearing selected.David Robillard1-10/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3903 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Add marshalers to all signals for mysterious unknown reasons.David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3902 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Draw directly to window cairo context instead of gdk pixmap.David Robillard1-28/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3875 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Make node no longer a subclass of group.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3873 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Custom module point and port draw handlers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3872 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Move group implementation to separate files.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3870 a436a847-0d15-0410-975c-d299462d15a1
2011-12-12Fix crash when joining non-ports.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3863 a436a847-0d15-0410-975c-d299462d15a1