1
0
Fork 0
Commit Graph

57 Commits

Author SHA1 Message Date
Michael Hackstein 192e75716e GraphViewer: There was a minor bug in JSONAdapter. Fixed now 2013-04-10 11:01:33 +02:00
Michael Hackstein cd230cc1cb GraphViewer: Patch Edge/Node now uses encapsulated _data property 2013-04-09 11:27:05 +02:00
Michael Hackstein 24d452c7d0 GraphViewer: Now editing of Nodes/Edges also works (yet missing: Checks for key values, add additional key/value pairs 2013-04-09 11:22:21 +02:00
Michael Hackstein 744f53d0bf GraphViewer: ArangoAdapter now also encapsulates attributes in _data 2013-04-09 10:43:11 +02:00
Michael Hackstein ba63620fd6 GraphViewer: JSON Adapter now encapsulates the data of nodes in _data object. Required to avoid problems with d3 internal attributes and key/values in the DB 2013-04-09 10:19:55 +02:00
Michael Hackstein 5212b47cff GraphViewer: Tests for DispatcherUI finished 2013-04-08 18:33:11 +02:00
Michael Hackstein 937a698821 GraphViewer: JSLintified Events 2013-04-08 13:17:33 +02:00
Michael Hackstein 9cb974531b GraphViewer: EventDispatchion for edge-creation finished 2013-04-08 13:11:43 +02:00
Michael Hackstein 33abdae1f0 GraphViewer: Started implementing EventDispatcher for edge. All works except Creation of Edges. Scheme will now be changed from one function (create) to three (start, finish and cancel) 2013-04-08 12:01:45 +02:00
Michael Hackstein c9d0115594 GraphViewer: EventDispatcher now offers a better binding of events, the result of the Dispatcher can now be directly bound to buttons/nodes/edges, instead of requiring a function around that encapsulates parameters 2013-04-08 11:39:19 +02:00
Michael Hackstein a6d8eadbc2 GraphViewer: Drag-event from layouter is now piped through the eventLib, making the interface workflow more consistent 2013-04-08 09:56:51 +02:00
Michael Hackstein cc8560dfc7 GraphViewer: Added a rebind function to EventDispatcher, which sets the given set of events and unbinds all others 2013-04-08 09:13:38 +02:00
Michael Hackstein d1e01f49c1 GraphViewer: All events can be unbound now for Nodes and Edges 2013-04-05 07:15:38 +02:00
Michael Hackstein ed827d77cd GraphViewer: Added/Tested default colouring of Edges and nodes 2013-04-04 16:36:16 +02:00
Michael Hackstein 2e43dbfb14 Aardvark: Adapted new Foxx interface 2013-04-04 15:56:02 +02:00
Michael Hackstein 2affe643d3 GraphViewer: Enlarged the Arrow Pointer, has to be changed to be relative to nodesize 2013-04-04 01:04:58 +02:00
Michael Hackstein 159c55be39 GraphViewer: EdgeColouring tested in demo.html, again the label is set to black forcefully 2013-04-04 00:46:41 +02:00
Michael Hackstein 8ab12a75b5 GraphViewer: Node colouring added to the demo.html. Decided to forcefully set the TextColour to black, as it inherits the user defined colour-scheme otherwise and this gets unreadable quite fast 2013-04-04 00:16:49 +02:00
Michael Hackstein c62230782a GraphViewer: EdgeShaper now supports colouring by attribute value 2013-04-03 17:36:59 +02:00
Michael Hackstein f08392f592 GraphViewer: NodeShaper now supports colouring by attribute value 2013-04-03 17:27:13 +02:00
Michael Hackstein e23506662f GraphViewer: Implemented ColourMapper 2013-04-03 17:15:01 +02:00
Michael Hackstein 3ccd7a5b7b GraphViewer: Added ColourMapper and implemented tests. This class should return colours for based on attribute values 2013-04-03 16:07:02 +02:00
Michael Hackstein fa2192672a GraphViewer: Node colouring has now 2 options, single colour and colour based on expanded or not 2013-04-03 15:19:35 +02:00
Michael Hackstein 02a94c1bcd GraphViewer: Edge colouring has now 2 options, single colour and gradient colour. However gradient works only with a hack and only on Safari due to SVG problems 2013-04-03 15:05:35 +02:00
Michael Hackstein db3da09be9 GraphViewer: Changed rendering of edges, they are now translated and rotated instead of giving x1/y1 and x2/y2. This works much better for labels 2013-04-03 06:54:10 +02:00
Michael Hackstein 840a85496a GraphViewer: Embedded the Edges in an own g element 2013-04-02 16:08:48 +02:00
Michael Hackstein c967c27a27 GraphViewer: Added Marker-Shape to EdgeShaper, and fixed a jQuery-Selector bug, if _id contains special symbols 2013-04-02 10:44:43 +02:00
Michael Hackstein fdd630f104 GraphViewer: Fixed Demo, removed unused leftover functions 2013-04-02 09:59:09 +02:00
Michael Hackstein 954e54da53 GraphViewer: EventDispatcher now reacts to new EdgeShaper interface 2013-04-02 09:27:35 +02:00
Michael Hackstein b1a890a609 GraphViewer: Moved EdgeShaper interface to the same as NodeShaper now 2013-04-02 09:23:44 +02:00
Michael Hackstein 8d4b9b557a GraphViewer: Updated licence to 2013 2013-04-02 07:11:39 +02:00
Michael Hackstein 861039ee85 GraphViewer: Fixed binding to update event. All Tests pass again yeah 2013-04-02 07:08:50 +02:00
Michael Hackstein 79ca70a1e7 GraphViewer: Fixed single node reshape 2013-04-02 06:59:35 +02:00
Michael Hackstein 443a2bb766 GraphViewer: Fix for NodeShaper 2013-04-01 11:02:05 +02:00
Michael Hackstein 2cdd630d54 Adapted EventDispatcher to new NodeShaper Interface 2013-03-30 13:01:33 +01:00
Michael Hackstein e63d3b7133 GraphViewer: Update Event now bound differently to nodes. 2013-03-30 12:53:50 +01:00
Michael Hackstein e23edd007d GraphViewer: Everything within NodeShaper is now replaceable on the fly (f.e. switch between displayed labels on button click) 2013-03-30 12:47:30 +01:00
Michael Hackstein 021f75980a GraphViewer: Delete event for nodes now removes all edges adjacent to this node (client-side invokation) 2013-03-27 11:09:44 +01:00
Michael Hackstein 7e8607ffed GraphViewer: Fixed Bug in load Graph by Attribute. Now this works and can be used in demo 2013-03-26 13:56:00 +01:00
Michael Hackstein e6dac39032 GraphViewer: Events can now be added to edges during runtime 2013-03-26 07:52:32 +01:00
Michael Hackstein 85420d7172 GraphViewer: Nodes are now correctly reshaped if new events are bound 2013-03-25 20:43:13 +01:00
Michael Hackstein e4aceec3e6 Added a helper class to simulate mouse events in test cases, Added a test for redrawing of nodes whenever new events are bound 2013-03-25 15:40:18 +01:00
Michael Hackstein 202381394e GraphViewer: Events can now be bound to edges 2013-03-25 12:26:45 +01:00
Michael Hackstein 60416e671a Deleting nodes now works and redraws the graph, in the demo page deleting has been included 2013-03-21 15:57:36 +01:00
Michael Hackstein a4065dd30d Events can now be rebound during runtime on any object 2013-03-21 15:36:54 +01:00
Michael Hackstein 8aee0d3ed0 Minor fix in GraphViewerSpec, causing user-interaction tests to fail 2013-03-21 13:53:18 +01:00
Michael Hackstein a5df10cb50 Added creation of node to demo.html 2013-03-21 13:03:00 +01:00
Michael Hackstein 4f163640b8 Finished implementing the EventDispatcher 2013-03-21 10:41:07 +01:00
Michael Hackstein ff14ec670d Fix for return format of ArangoDB, now it is always interpreted as JSON-Object 2013-03-20 14:31:39 +01:00
Michael Hackstein c8b19823d3 Start of event dispatcher implementation 2013-03-20 14:31:02 +01:00