1
0
Fork 0
Commit Graph

306 Commits

Author SHA1 Message Date
Michael Hackstein 8dd44978cd GraphViewer: Added a previewAdapter for the Widget Generator. This returns a hardcoded set of nodes and alerts any outgoing actions 2013-06-27 09:51:35 +02:00
Michael Hackstein 7ea3a30f68 GraphViewer: Changed accepted format of FoxxAdapter from Array to Object where it is much easier to identify equal nodes on server side 2013-06-25 15:05:44 +02:00
Michael Hackstein 60b540b231 GraphViewer: The nodeShaper now makes the html aware of xmlns:xlink and now the display of images is working finally 2013-06-25 10:53:15 +02:00
Michael Hackstein b2bdbaf8e1 GraphViewer: Now the image source really uses data stored in the document, forgot that it is encapsulated 2013-06-25 09:57:28 +02:00
Michael Hackstein a2696cb835 GraphViewer: Now images as nodes are also implemented including source 2013-06-25 09:51:12 +02:00
Michael Hackstein 440d65f4bd GraphViewer: The node shaper is now able to append images as nodes. But still need a proper href 2013-06-25 09:31:24 +02:00
Michael Hackstein 5bb74c01c2 GraphViewer: Widgets can now initially be bound with any action available in the toolbox 2013-06-25 08:04:34 +02:00
Michael Hackstein c33cb8c36a GraphViewer: Event dispatcher now offers rebind functions for buttons to the outside world. This is used to give an initial active tool without creating a toolbox. 2013-06-24 18:19:24 +02:00
Michael Hackstein 46e8aeabaa GraphViewer: In the Wodget it is now possible to initially bind the drag event 2013-06-24 15:49:56 +02:00
Michael Hackstein aa0d8a8115 GraphViewer: Added Tests for toolbox in the Widget-UI 2013-06-24 14:00:59 +02:00
Michael Hackstein 96048586c3 Started implementing the Widget version of the UI. The SVG loading an optional given startNode is added till now. 2013-06-24 13:10:58 +02:00
Michael Hackstein 0bbf2cf4e5 Added a test for the FoxxAdapter in the graphViewer 2013-06-24 09:27:26 +02:00
Michael Hackstein 7b093d176c GraphViewer: Added first version of a generic Foxx Adapter 2013-06-10 14:11:32 +02:00
Michael Hackstein 3e105873a9 GraphViewer: Added integration testsuite for abstract adapters 2013-06-07 11:08:50 +02:00
Michael Hackstein f719a32251 GraphViewer: Added a further abstraction layer for the adapters, makes it much easier to write adapters for different sources like FOXX 2013-06-06 16:30:51 +02:00
Michael Hackstein e7b735fd9a GraphViewer: Added an abstract version of the adapter which does plain handling of nodes, server-connection is implemented in a more specific class 2013-06-04 16:19:56 +02:00
Michael Hackstein 555322214a GraphViewer: Create and Edit dialogs now the correct text on the submit button 2013-06-04 15:00:17 +02:00
Michael Hackstein 8a8dde506f GraphViewer: A add new node button is now contained in the toolbox 2013-06-04 14:46:00 +02:00
Michael Hackstein cbebd8e7ac GraphViewer: The Rectangular nodes now have rounded corners. yay 2013-06-04 13:40:11 +02:00
Michael Hackstein b1f012ef22 GraphViewer: The colour-mapper now also creates a foreground colour. All labels are now readable 2013-06-04 13:28:13 +02:00
Michael Hackstein d6a260d8b4 GraphViewer: The label<-> colour list is now displayed right to the SVG 2013-06-04 12:51:09 +02:00
Michael Hackstein 70a5b0c0f9 GraphViewer: The NodeShaperUI is now able to generate the colour<-> label list. 2013-06-04 08:59:34 +02:00
Michael Hackstein 3b8a1fca81 GraphViewer: The colourmapper and NodeShaper can now return the mapping color -> label as a list 2013-06-03 16:06:41 +02:00
Michael Hackstein 19003f160f GraphViewer: Impoved layout of multiline labels 2013-06-03 15:12:04 +02:00
Michael Hackstein f80ddd0c09 GraphViewer: Labels are now splitted accordingly into two lines 2013-06-03 14:58:20 +02:00
Michael Hackstein d9718e97a7 GraphViewer: Added a combined dialog to change displayed label and colour for nodes at the same time. This is added to general configuration menu 2013-05-31 18:51:17 +02:00
Michael Hackstein a2a9194b1e GraphViewer: Fixed several tests that did fail 2013-05-31 18:27:10 +02:00
Michael Hackstein 195856216c GraphViewer: By default a rect node is now displayed for better readability of text 2013-05-31 09:07:52 +02:00
Michael Hackstein 5d2008d4bb GraphViewer: A line is now displayed to help connecting two nodes 2013-05-29 13:53:34 +02:00
Michael Hackstein da8b1b759a GraphViewer: The other classes now use the better handleing for SVG events 2013-05-28 10:05:00 +02:00
Michael Hackstein b6e957a058 GraphViewer: EventDispatcher now has a better handling for events bound to SVG 2013-05-28 09:43:23 +02:00
Michael Hackstein fb7647892a GraphViewer: Added extemporaneous cursor addition for actions 2013-05-27 15:18:55 +02:00
Michael Hackstein 25825bc164 GraphViewer: ArangoAdapter does not join single nodes into communities anymore 2013-05-27 12:29:40 +02:00
Michael Hackstein 4706bafd4c GraphViewer: The Adapter Dialog now offers all available collections 2013-05-27 11:42:05 +02:00
Michael Hackstein 81ba8c5ccb GraphViewer: JSLint issues 2013-05-27 11:11:43 +02:00
Michael Hackstein e024f1b0fe GraphViewer: Improved Similarity Join of Nodes 2013-05-27 10:50:24 +02:00
Michael Hackstein 133ca7c360 GraphViewer: The Arango-Adapter is now able to define a max. amount of children in one expansion step and join further into communities 2013-05-27 10:15:36 +02:00
Michael Hackstein 13bbbe6a03 Fixed test for button-label in GraphViewer UI 2013-05-27 08:50:32 +02:00
Michael Hackstein 6592881302 GraphViewer: The ArangoAdapter can now deliver the available collections 2013-05-24 16:51:58 +02:00
Michael Hackstein fe2825df88 GraphViewer: Optmized layout, there was a miss-typing of a class name 2013-05-24 15:54:37 +02:00
Michael Hackstein 866b74d4b6 GraphViewer: Added a function to the node reducer to join nodes based on their similarity if too many child nodes aare added at once 2013-05-24 15:21:26 +02:00
Michael Hackstein 79efa0b2a9 GraphViewer: Changed default values a bit, which is more convenient for graphs with large 1-neighbourhoods 2013-05-24 15:20:15 +02:00
Michael Hackstein 4597366eed GraphViewer: Further prefixed UI Element-Ids, they were only unique in scope of different lists 2013-05-23 15:51:01 +02:00
Michael Hackstein cbcad7db60 GraphViewer: Increased Default Min-size of NodeRadius from 1px to 4px 2013-05-23 15:07:59 +02:00
Michael Hackstein d77e78a3fe GraphViewer: The UI now offers the option to switch between directed and undirected graphs 2013-05-23 14:23:52 +02:00
Michael Hackstein cece6d5b4b GraphViewer: Added option to switch between directed and undirected traversals 2013-05-23 14:08:37 +02:00
Michael Hackstein a67f7edb28 GraphViewer: In/Outbound counter for nodes is set correctly even after community joins. All Tests pass on usefull browsers and 99% on IE9 2013-05-23 10:59:10 +02:00
Michael Hackstein 65c959e9d6 GraphViewer: Edges are bound to community nodes correctly 2013-05-23 10:30:03 +02:00
Michael Hackstein f196496bd8 GraphViewer: Tests for CommunityNodes and adding edges to them 2013-05-23 09:13:33 +02:00
Michael Hackstein 74179e697d GraphViewer: Added tests for expanding/collapsing of nodes if communitynodes are inside the graph 2013-05-22 16:46:49 +02:00
Michael Hackstein e627714763 GraphViewer: CommunityNodes now tell the outer world how many nodes are inside 2013-05-22 14:08:13 +02:00
Michael Hackstein d81d136cb5 GraphViewer: Added the community behaviour to the event lib 2013-05-21 23:32:06 +02:00
Michael Hackstein 0f2560c389 GraphViewer: Implemented rendering Community Nodes as Stars 2013-05-21 21:14:40 +02:00
Michael Hackstein 4755bb701e GraphViewer: Added tests for NodeShaper to shape Community-Nodes 2013-05-21 15:41:42 +02:00
Michael Hackstein 7ced744d21 GraphViewer: Added test for reshaping if community is formed 2013-05-21 14:02:43 +02:00
Michael Hackstein 86400bd756 GraphViewer: Now collapses another community if community is expanded but no space is available 2013-05-21 13:30:05 +02:00
Michael Hackstein f43f0568f7 GraphViewer: Simple expansion of Communities now possible 2013-05-21 13:22:12 +02:00
Michael Hackstein bf749438f0 GraphViewer: Added tests for expansion of community-nodes 2013-05-21 11:53:12 +02:00
Michael Hackstein 30b60f7715 GraphViewer: All tests pass 2013-05-21 10:34:00 +02:00
Michael Hackstein 88d8c31029 GraphViewer: Finished implementation of community joining, display and reverse action to be implemented 2013-05-21 10:24:04 +02:00
Michael Hackstein bdf3daac39 GraphViewer: Added JSLint to my karma script and JSLinted everythign again 2013-05-21 09:29:36 +02:00
Michael Hackstein bd50d5c5f0 GraphViewer: Added Tests for joining of community nodes 2013-05-17 17:16:32 +02:00
Michael Hackstein 4161ff662c GraphViewer: Added Tests for communication between Adapter and NodeReducer 2013-05-17 15:26:28 +02:00
Michael Hackstein 0c4ef2215b ArangoAdapter now creates a node Reducer 2013-05-17 14:39:35 +02:00
Michael Hackstein 6fac02a451 GraphViewer: Modified ArangoAdapter Setup Test to check if Host is determined 2013-05-17 14:36:02 +02:00
Michael Hackstein 5e17ebe404 GraphViewer: Started implementing the Communication between ZoomManager, GraphViewer and the Adapter 2013-05-17 13:55:20 +02:00
Michael Hackstein 642e976e62 GraphViewer: Added tests for graphViewer to accept NodeLimit Callback and to propagate it to the Adapter 2013-05-15 15:58:25 +02:00
Michael Hackstein f0752a6736 GraphViewer: Gave Zoommanager a callback to inform the GraphViewer about NodeLimitChanges 2013-05-15 15:57:16 +02:00
Michael Hackstein 24a1658462 GraphViewer: ArangoAdapter is now able to be runned with Karma and DB is completely mocked away 2013-05-14 11:19:34 +02:00
Michael Hackstein 679ce523de GraphViewer: Further adoption to external Karma Testing 2013-05-13 23:15:54 +02:00
Michael Hackstein 1d5b5ef4d6 GraphViewer: Fixed eventDispatcherUITest. It did not clean up properly 2013-05-13 19:05:17 +02:00
Michael Hackstein c0a389b56e GraphViewer: Modified tests so they could be run with an external tool like Karma, but not yet finished. 2013-05-13 18:48:05 +02:00
Michael Hackstein 6d65938645 GraphViewer: CommunityDetection algorithm implemented successfully, however distance is not yet considered for decission 2013-05-13 15:28:41 +02:00
Michael Hackstein 3d1bd8dfde GraphViewer: Implemented initialisation for Clauset, Newman and Moore's algorithm 2013-05-13 12:48:42 +02:00
Michael Hackstein 83a6344eae GraphViewer: Added Method Stub to NodeReducer 2013-05-13 09:33:32 +02:00
Michael Hackstein 8ac7ba1968 GraphViewer: Added Tests and ClassStub for the NodeReducer 2013-05-13 09:20:26 +02:00
Michael Hackstein 34e062dd5c GraphViewer: NodeShaper now rescales nodes for fisheye 2013-05-06 14:38:40 +02:00
Michael Hackstein 0971a58844 GraphViewer: ZoomManager now binds events to SVG not to first G, gives better results 2013-05-06 13:57:01 +02:00
Michael Hackstein ccbacf893a GraphViewer: Main graphViewer class is now able to construct a ZoomManager 2013-05-06 13:21:50 +02:00
Michael Hackstein 9fc5bf9c12 GraphViewer: Added fisheye distortion propagation to zoommanager. 2013-05-06 12:40:47 +02:00
Michael Hackstein e70af5ba25 GraphViewer: New zooming-behaviour implemented, still open: FishEye 2013-05-06 11:36:52 +02:00
Michael Hackstein 169dcfeb66 GraphViewer: Started with new interface for zoommanager with better integration of D3 and Fisheye 2013-05-06 10:30:18 +02:00
Michael Hackstein 54e5a13573 GraphViewer: Added new test for ZoomManager 2013-05-03 14:13:25 +02:00
Michael Hackstein 91a7d66dbd GraphViewer: Added function to toggle display of labels without redefining them 2013-05-03 14:07:59 +02:00
Michael Hackstein 958c507943 GraphViewer: Fixes in NodeShaper 2013-05-02 14:39:36 +02:00
Michael Hackstein 50d04edf23 GraphViewer: Adapted spec for UI refinement 2013-04-30 14:50:20 +02:00
Michael Hackstein 37f2175845 GraphViewer: Implemented ZoomManager 2013-04-30 14:17:11 +02:00
Michael Hackstein b3b34c8b5b GraphViewer: Further tests for default behaviour of zooming 2013-04-30 12:41:09 +02:00
Michael Hackstein efaf5d82aa GraphViewer: Test for default behaviour of zooming 2013-04-30 12:33:42 +02:00
Michael Hackstein 57e4ccc4ff GraphViewer: Started implementing the zoom functionality 2013-04-30 09:52:16 +02:00
Michael Hackstein 76a027d554 GraphViewer: Added distortion schema to all affected classes 2013-04-24 12:49:13 +02:00
Michael Hackstein de359bf07d GraphViewer: Added lib for fish-eye view, and started adaption of edgeShaper 2013-04-24 09:18:57 +02:00
Michael Hackstein fb09253e86 GraphViewer: Nodes can now be distorted 2013-04-18 13:16:55 +02:00
Michael Hackstein 019e74bd97 GraphViewer: Added Test for NodeShaper to offer distortion 2013-04-18 12:54:07 +02:00
Michael Hackstein da560452c6 GraphViewer: Fixed a bug, where node positions where destroyed by the arangoAdapter. That caused a lot of trouble in the interface 2013-04-18 10:35:41 +02:00
Michael Hackstein 476b59e29c GraphViewer: Fixed a bug for reshaping of edges 2013-04-17 14:27:22 +02:00
Michael Hackstein 90b2aba0c1 GraphViewer: Updated colouring and size of labels 2013-04-16 16:47:14 +02:00
Michael Hackstein aaa453adfd GraphViewer: Added a better simulation for drag events. My test until now did not check it correctly 2013-04-16 16:08:53 +02:00
Michael Hackstein 8a13e577e3 GraphViewer: Improved optical layout, force defaults were not correct for increased screen size 2013-04-16 14:49:44 +02:00
Michael Hackstein 04ae758746 GraphViewer: Slightly changed interface of ArangoAdapter. It now defaults to the domains.host if none is given 2013-04-16 14:15:21 +02:00
Michael Hackstein 9e61f34a68 GraphViewer: Improved CSS for search. All tests pass again. 2013-04-16 13:15:24 +02:00
Michael Hackstein 606635235e GraphViewer: Added Search by Attribute/Value pair. If no attribute Name is given, search is by _id 2013-04-16 12:13:55 +02:00
Michael Hackstein 211ee118c3 GraphViewer: Added Spec for Search by Attribute on the GraphViewerUI 2013-04-16 12:00:45 +02:00
Michael Hackstein dff9582978 GraphViewer: Improved optics of layout buttons, they are now encapsulated in their own little div world 2013-04-16 11:11:57 +02:00
Michael Hackstein fa0dc2fa4c GraphViewer: LayouterMenu is now created by the GraphViewerUI 2013-04-16 10:59:48 +02:00
Michael Hackstein 6945a99327 GraphViewer: Layouter is now accessible 2013-04-16 10:54:19 +02:00
Michael Hackstein 57ef46e895 GraphViewer: Added a spec that the layouter menu is generated by the GraphViewerUI 2013-04-16 10:48:53 +02:00
Michael Hackstein 5e69af80b8 GraphViewer: Implemented Menu functions for Layouter 2013-04-16 10:46:15 +02:00
Michael Hackstein 750cf91849 GraphViewer: The layouter is now checked for useful default values 2013-04-15 16:04:43 +02:00
Michael Hackstein fe6cf84614 GraphViewer: Added the Adapter Menu to the interface 2013-04-15 15:02:42 +02:00
Michael Hackstein 810d2ad83f GraphViewer: It is now possible to switch collections on the fly 2013-04-15 12:00:15 +02:00
Michael Hackstein 3d66aac371 GraphViewer: Added Spec for the ArangoAdapterUI to switch collections 2013-04-12 16:01:29 +02:00
Michael Hackstein 84c4da1c92 GraphViewer: ArangoAdapter is now able to switch to other collections 2013-04-12 15:49:35 +02:00
Michael Hackstein 135707325e GraphViewer: ArangoAdapter now uses BindParameters 2013-04-12 15:24:35 +02:00
Michael Hackstein 380a675fe0 GraphViewer: Same Problem with _data as for nodes also in edges. Now fixed 2013-04-12 11:37:39 +02:00
Michael Hackstein 3eb211ca49 GraphViewer: Error in NodeShaper, labels are not yet collected from _data. Fixed Test for that 2013-04-12 11:22:16 +02:00
Michael Hackstein 427eeaae96 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-12 11:00:15 +02:00
Michael Hackstein 4bfdf68b5c GraphViewer: Toolbox now created correctly 2013-04-12 10:58:54 +02:00
Michael Hackstein 93039615a0 GraphViewer: Added test for design of Toolbox 2013-04-12 10:43:05 +02:00
Michael Hackstein e7bfed16dc GraphViewer: Added design and test for the Toolbox buttons 2013-04-12 10:42:34 +02:00
Jan Steemann 4ff3d6f3e9 removed .DS_Store 2013-04-11 20:59:14 +02:00
Jan Steemann c895923acc removed .DS_Store files 2013-04-11 20:58:16 +02:00
Michael Hackstein caaff89ec6 GraphViewer: Further adaption of CSS for the admin interface 2013-04-11 17:18:22 +02:00
Michael Hackstein 7049c7c80e GraphViewer: Switched NodeShaper Controls to Button Helper class 2013-04-11 16:15:14 +02:00
Michael Hackstein b99bb0d5d1 GraphViewer: First Part of MenuBar in GraphViewer Admin is done 2013-04-11 15:31:05 +02:00
Michael Hackstein cc9b9407af GraphViewer: Added GraphViewer to Admin Interface, however Menu is still hidden. Also started with a spec to test if the generated UI conforms to Admin Interface css 2013-04-11 14:50:21 +02:00
Michael Hackstein 7abe9aa342 GraphViewer: Finally everything works as expected, the graph is rendered and editable 2013-04-11 13:46:43 +02:00
Michael Hackstein 07941f6f48 GraphViewer: JSLintified GraphViewerUI 2013-04-10 17:11:37 +02:00
Michael Hackstein 9f68cfa048 GraphViewer: Simplification of GraphViewer finished, all dispatching moved to GraphViewerUI 2013-04-10 17:08:26 +02:00
Michael Hackstein 025b47aeb1 GraphViewer: Finished tests for GraphViewer UI 2013-04-10 15:40:06 +02:00
Michael Hackstein 6f39e7f170 GraphViewer: GraphViewer now simplyfied. GraphViewer UI todo 2013-04-10 15:09:24 +02:00
Michael Hackstein 2abb3ba1d4 GraphViewer: Planned to simplify GraphViewer and to push event and UI delegation to graphViewerUI 2013-04-10 14:14:19 +02:00
Michael Hackstein bea6446c00 GraphViewer: Improved Spec and UI for GraphViewer 2013-04-10 14:13:29 +02:00
Michael Hackstein 799def1033 GraphViewer: Wrote spec for UI of GraphViewer 2013-04-10 11:47:59 +02:00
Michael Hackstein 640b04b4c2 GraphViewer: All specs passing again yeah 2013-04-10 11:08:05 +02:00
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