1
0
Fork 0
Commit Graph

175 Commits

Author SHA1 Message Date
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
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 deb9bd05e9 GraohViewer: Implemented first button: Switch NodeLayout to Circle 2013-04-01 13:36:56 +02:00
Michael Hackstein a0b7f7e73c GraphViewer: Added first sepcs for the UI-Generator of the NodeShaper 2013-04-01 11:46:39 +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 1507b32314 GraphViewer: Added an additional test for label switching 2013-03-30 12:51:05 +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 bbd2a20636 GraphViewer: JSLintified 2013-03-26 19:35:14 +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 4d7e20a151 GraphViewer and Demo adapted to EventDispatcher 2013-03-21 10:54:57 +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
Michael Hackstein 0f246a5a28 Moved specs for events into a combined folder 2013-03-20 10:57:18 +01:00
Michael Hackstein 9f8e969699 Improved style of EventLib code 2013-03-20 10:41:53 +01:00
Michael Hackstein a9fc8289b2 EdgeShaper now also uses arangoDBs _id as default id value 2013-03-20 10:33:55 +01:00
Michael Hackstein e755c67a3b fixed test data adapted to mirror arangoDB internal id 2013-03-20 10:11:00 +01:00
Michael Hackstein 7eb123b2c3 Fix in NodeShaper spec 2013-03-20 10:01:48 +01:00
Michael Hackstein eb5b61b6fd NodeShaper now uses arangoDB _id as default, specs adapted 2013-03-20 09:55:26 +01:00
Michael Hackstein d24d315870 added events to create/patch/delete nodes and edges to the event library 2013-03-20 09:43:43 +01:00
Michael Hackstein 95af25c9ce fixed inconsistent searchbar and inital load error 2013-03-19 14:26:20 +01:00
Michael Hackstein bef8d02a95 Fixed bug causing to request centrality over and over again if it is equal to 0 2013-03-19 11:40:30 +01:00
Michael Hackstein 8858521f04 Adapted graphViewer to new adapter interface 2013-03-19 10:50:30 +01:00
Michael Hackstein efe496b1e7 Removed unused folders 2013-03-19 10:46:35 +01:00
Jan Steemann 8f8598ed1e new web interface 2013-03-19 10:35:20 +01:00
Jan Steemann 8155718a4c new web interface 2013-03-19 10:33:23 +01:00