After the first investigation, I think cytoscape might be too heavy. There would be lots of refactoring work to migrate all functions to new library. So I would suspend this proposal for now.
However, it seems the layout could be improved by adjusting the parameters applied to force layout, e.g. charge, gravity and etc. When a larger charge is assigned to cluster, it will push away the other element to avoid overlapping. But currently it is difficult to tune such parameters since the scripts are compressed. *Any idea to speed up debug process?* -- Yujun On Tue, Aug 23, 2016 at 9:29 AM Yujun Zhang <[email protected]> wrote: > I'm considering to use Cytoscape.js [1] to improve the layout for entity > graph view. > > Cytoscape.js is a graph theory (a.k.a. network) library for analysis and > visualisation which under active maintenance (latest release 2.7.8 on Aug > 18, 2016) [2], while the current library d3-dagre [3] is declared not being > actively developed or maintained. > > Meanwhile, I'm building a proof of concept for visualizing the entity > graph with Cytoscape. > > Could anybody give a list on the required features for this view? Any > comments are welcome. > > [1] http://js.cytoscape.org/ > [2] https://github.com/cytoscape/cytoscape.js > [3] https://github.com/cpettitt/dagre-d3 > > > On Mon, Aug 8, 2016 at 2:34 PM Afek, Ifat (Nokia - IL) < > [email protected]> wrote: > >> There is no such blueprint at the moment. >> You are more than welcome to add one, in case you have some ideas for >> improvements. >> >> Ifat. >> >> From: Yujun Zhang >> Date: Monday, 8 August 2016 at 09:21 >> >> >> Great, it works. >> But it would be better if we could improve the default layout. Is there >> any blueprint in progress? >> -- >> Yujun >> >> On Sun, Aug 7, 2016 at 1:09 PM Afek, Ifat (Nokia - IL) < >> [email protected]> wrote: >> >>> Hi, >>> >>> It is possible to adjust the layout of the graph. You can double-click >>> on a vertex and it will remain pinned to its place. You can then move the >>> pinned vertices around to adjust the graph layout. >>> >>> Hope it helped, and let us know if you need additional help with your >>> demo. >>> >>> Best Regards, >>> Ifat. >>> >>> >>> From: Yujun Zhang >>> Date: Friday, 5 August 2016 at 09:32 >>> >>> Hi, all, >>> >>> I'm building a demo of vitrage. The dynamic entity graph looks >>> interesting. >>> >>> But when more entities are added, things becomes crowded and the links >>> screw over each other. Dragging the items will not help much. >>> >>> Is it possible to adjust the layout so I can get a more regular/stable >>> tree view of the entities? >>> >>> >>> __________________________________________________________________________ >>> OpenStack Development Mailing List (not for usage questions) >>> Unsubscribe: >>> [email protected]?subject:unsubscribe >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>> >> __________________________________________________________________________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: >> [email protected]?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
