1
0
Fork 0
Commit Graph

88 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 ebdbd7eff8 GraphViewer: Added Dispatcher + DispatcherUI tests to runnerAll-Tests 2013-04-08 22:11:34 +02:00
Michael Hackstein 3b9c59af97 GraphViewer: Dispatcher UI almost finished. Editing of Nodes is not working yet as d3-attributes are displayed in addition to stored attributes 2013-04-08 22:04:03 +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 922579c37b GraphViewer: Added a central class for mocked parts of the graph viewer, no functionality just useful for spies. 2013-04-08 09:39:38 +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 8fae6f2485 GraphViewer: Defined spies for Toolbox creation tests 2013-04-05 08:18:40 +02:00
Michael Hackstein 268fe16056 GraphViewer: Started implementing tests for the EventToolbox. Right now only existance of buttons is checked, and correct actions are triggered. However correctness of outcome is not yet checked 2013-04-05 08:11:05 +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 dc5b9c1385 GraphViewer: Added a test to unbind all events 2013-04-05 06:53:08 +02:00
Michael Hackstein 790ad37020 GraphViewer: Removed unused variable 2013-04-04 17:48:56 +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 c208a94f52 GraphViewer: Implemented UI Dialogs for edge colouring 2013-04-04 00:30:54 +02:00
Michael Hackstein f5c523ea56 GraphViewer: Implemented test for edge colouring dialogs 2013-04-04 00:22:24 +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 8a0b79b429 GraphViewer: NodeShaper now creates UI elements to change the colouring 2013-04-03 18:06:35 +02:00
Michael Hackstein 5c9c408cb4 GraphViewer: Added tests for Node-Colour change controls 2013-04-03 17:48:12 +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 b2750383f4 GraphViewer: Colour Mapper now returns colours directly, unfortunately the pre definition of colours in the svg does not work at all... 2013-04-03 16:33:02 +02:00
Michael Hackstein a7d9d161cb GraphViewer: Added Test for ColourMapper.reset() 2013-04-03 16:12:52 +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 67cd95912d GraphViewer: Added tests for colouring of Nodes/Edges 2013-04-03 14:33:31 +02:00
Michael Hackstein 1b9b0daaa2 GraphViewer: Added test for Edge colouring 2013-04-03 07:52:43 +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 f5a018b6e4 GraphViewer: Implemented UI Button creation for the EdgeShaper 2013-04-02 11:31:17 +02:00
Michael Hackstein b2f90348a8 GraphViewer: Moved further UI funcitons to the Helper 2013-04-02 11:16:58 +02:00
Michael Hackstein 5f4a9a76d2 GraphViewer: Added test for EdgeShaper UI elements 2013-04-02 11:10:57 +02:00
Michael Hackstein 60572c4889 GraphViewer: Changed UI creation, common parts are now exported to a helper function for reusability 2013-04-02 11:07:18 +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 6c03247b2b GraphViewer: Adapted Tests for EdgeShaper, this will be moved to the same interface as NodeShaper 2013-04-02 08:58:27 +02:00