[openstack-dev] [vitrage] entity graph layout
Afek, Ifat (Nokia - IL)
ifat.afek at nokia.com
Thu Aug 25 13:05:43 UTC 2016
Hi Yujun,
Try setting COMPRESS_ENABLED = False in local_settings.py (add it if it doesn’t exist).
Let us know if it worked, it sounds like a good solution.
Thanks,
Ifat.
From: Yujun Zhang
Reply-To: "OpenStack Development Mailing List (not for usage questions)"
Date: Thursday, 25 August 2016 at 10:52
To: "OpenStack Development Mailing List (not for usage questions)"
Subject: Re: [openstack-dev] [vitrage] entity graph layout
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 <zhangyujun+zte at gmail.com<mailto:zhangyujun%2Bzte at gmail.com>> 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) <ifat.afek at nokia.com<mailto:ifat.afek at nokia.com>> 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) <ifat.afek at nokia.com<mailto:ifat.afek at nokia.com>> 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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160825/3d3df6cb/attachment.html>
More information about the OpenStack-dev
mailing list