summaryrefslogtreecommitdiffstats
path: root/src/node.c
AgeCommit message (Collapse)AuthorFilesLines
2015-02-16Only highlight borders on hover.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5576 a436a847-0d15-0410-975c-d299462d15a1
2014-08-30More obvious highlighting.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5460 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Clean up Ganv API.David Robillard1-28/+80
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30Reimplement canvas zoom.David Robillard1-3/+1
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-15Clean up public canvas interface.David Robillard1-5/+5
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-11Merge GanvCanvasBase and GanvCanvas.David Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix control updating with animated canvas.David Robillard1-1/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5254 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix select rectangle drag from bottom right to top left.David Robillard1-2/+1
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-03Don't abuse show_label property for vertical/horizontal mode.David Robillard1-10/+6
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-27Remove dead code.David Robillard1-6/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5215 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard1-4/+24
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 Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5184 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Add experimental (slow) force-directed graph layout to Ganv.David Robillard1-0/+9
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-11-01Remove unused typedefs.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5167 a436a847-0d15-0410-975c-d299462d15a1
2013-03-25Minor documentation improvements.David Robillard1-6/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5099 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-02Fix strange bug where canvas stops updating entirely on node removal.David Robillard1-7/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5025 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Support resizing circles to fit label, and setting radius in ems.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4969 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Add two connect modes for fast chaining and fanning.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4962 a436a847-0d15-0410-975c-d299462d15a1
2013-01-13Better dot rendering and auto-arrange for graphs with circles.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4955 a436a847-0d15-0410-975c-d299462d15a1
2013-01-08Don't highlight fill colour on mouse hover.David Robillard1-1/+0
Fi× embedded plugin UI Gtk style to match block background. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4907 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Implement item stacking.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4876 a436a847-0d15-0410-975c-d299462d15a1
2012-11-14Fix wonky edge selection behaviour when selecting ports.David Robillard1-5/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4814 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix a ton of warnings.David Robillard1-18/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4648 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix node selection so setting "selected" property does the right thing.David Robillard1-1/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4369 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Fix warnings about non-parent items.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4304 a436a847-0d15-0410-975c-d299462d15a1
2012-04-25Fix drag connection curves in vertical canvas.David Robillard1-4/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4272 a436a847-0d15-0410-975c-d299462d15a1
2012-04-24Fix font size stuff.David Robillard1-0/+16
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/+35
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4260 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Resize modules when port labels change.David Robillard1-7/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4242 a436a847-0d15-0410-975c-d299462d15a1
2012-03-28Fix control rect colour and label stacking.David Robillard1-7/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4124 a436a847-0d15-0410-975c-d299462d15a1
2012-03-09Fix "disconnect all".David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4036 a436a847-0d15-0410-975c-d299462d15a1
2012-01-11Fix crash on shutdown and item deletion.David Robillard1-1/+1
Use Item add and remove virtual methods for adding/removing ports instead of special explicit functions. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3933 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Add marshalers to all signals for mysterious unknown reasons.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3902 a436a847-0d15-0410-975c-d299462d15a1
2011-12-14Make node no longer a subclass of group.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3873 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Make items responsible for drawing their own children.David Robillard1-4/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3868 a436a847-0d15-0410-975c-d299462d15a1
2011-12-13Remove libart dependency.David Robillard1-0/+18
Replace unneeded arbitrary per-item affine with simple x, y coordinates. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3867 a436a847-0d15-0410-975c-d299462d15a1
2011-12-12Remove unused coverage method of Item class.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3859 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Change GanvGroup* to GanvItem* for parent pointers.David Robillard1-6/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3857 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Fix event handling.David Robillard1-25/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3852 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Remove GnomeCanvas dependency.David Robillard1-41/+40
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3842 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Improve documentation and GIR bindings.David Robillard1-31/+31
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3841 a436a847-0d15-0410-975c-d299462d15a1
2011-12-08Don't expose GET_PRIVATE macros.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3839 a436a847-0d15-0410-975c-d299462d15a1
2011-12-08Hide implementations.David Robillard1-65/+172
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3837 a436a847-0d15-0410-975c-d299462d15a1
2011-12-08Fix node moving (inform user via "moved" signal).David Robillard1-3/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3833 a436a847-0d15-0410-975c-d299462d15a1
2011-12-07Support creating modules via pure GObject construction.David Robillard1-12/+37
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3826 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06Trim license header.David Robillard1-10/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3822 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-0/+546
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3820 a436a847-0d15-0410-975c-d299462d15a1