[Gephi-plugins] dynamically adjusting menu(s) based on node attributes?

Mathieu Bastian mathieu.bastian at gmail.com
Sun Oct 9 23:47:56 CEST 2011


I believe the Visualization context menu is extensible, so you can add this
in a plug-in. However we are working on a new version of the API and can't
guarantee this will be supported in the future. I also have no documentation
available to do that.

An alternative might be to look at the Data Laboratory. It's easy (and
documented) to add new context actions. Check out


On Sat, Oct 1, 2011 at 10:07 PM, Chris Esposito <chris.esposito at gmail.com>wrote:

> Hi all,
>      . I've got a list of values stored as an attribute for each node -
> these are the node IDs of the group nodes for the clusters the
> attribute-owning node is in. I'd still like to be able to allow the user to
> specify which one of possibly several clusters its in to be collapsed. At
> least from a UI perspective, the most straightforward way of doing this is
> an extension of the current context / pop-up menu to have several 'Contract'
> menu items (each with a different cluster name, based on the selected node)
> instead of the single one currently there. From what I've seen from digging
> through the code there appears to be a 1-1 correspondence between classes
> and menu items, so it's not clear if / how I would go about doing what I
> want in the context of the current pop-up menu scheme. Is this approach
> feasible, or should I look for some other alternative?
> Thanks,
> Chris
> _______________________________________________
> gephi-plugins mailing list
> gephi-plugins at lists.gephi.org
> http://gephi.org/mailman/listinfo/gephi-plugins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gephi.org/pipermail/gephi-plugins/attachments/20111009/7adc7d52/attachment.html>

More information about the gephi-plugins mailing list