[openstack-dev] [vitrage] entity graph layout
zhangyujun+zte at gmail.com
Thu Aug 25 07:52:59 UTC 2016
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
But currently it is difficult to tune such parameters since the scripts are
compressed. *Any idea to speed up debug process?*
On Tue, Aug 23, 2016 at 9:29 AM Yujun Zhang <zhangyujun+zte at gmail.com>
> I'm considering to use Cytoscape.js  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) , while the current library d3-dagre  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.
>  http://js.cytoscape.org/
>  https://github.com/cytoscape/cytoscape.js
>  https://github.com/cpettitt/dagre-d3
> On Mon, Aug 8, 2016 at 2:34 PM Afek, Ifat (Nokia - IL) <
> 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
>> 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?
>> On Sun, Aug 7, 2016 at 1:09 PM Afek, Ifat (Nokia - IL) <
>> ifat.afek at nokia.com> wrote:
>>> 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
>>> Best Regards,
>>> 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
>>> 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)
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> OpenStack Development Mailing List (not for usage questions)
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev