Menu

#840 Reachable subgraph stores selection as local property

3.5.x
closed-works-for-me
nobody
None
5
2016-10-04
2016-10-04
No

I didn't expect this. (And by the way, it is not really a bug, but rather an unexpected behavior of the GUI, I guess).

Suppose I have several subgraphs of a same graph. They all share the viewSelection property of their common parent graph.

Suppose I have views of each of these subgraphs (using the GUI). When selecting nodes and/or edges with the selector tool, the selection affects the parent property: as a result, I can select in one subgrpah and immediately see where theses nodes sit in the other subgraphs. That's quite useful, I tell you.

Now, when running the Reachable Subgraph plugin on one of these subgraph, the result is now stored in a local boolean property. So I don"t get the synchronization effect I got with a manual selection ...

Discussion

  • Patrick Mary

    Patrick Mary - 2016-10-04
    • status: open --> closed-works-for-me
     
  • Patrick Mary

    Patrick Mary - 2016-10-04

    I suggest you to read
    http://tulip.labri.fr/Documentation/current/tulip-user/html/gui.html#algorithms-panel

    In this paragraph you will find how to simply configure Tulip for your need:

    "This menu allows to choose the storage policy for the result of property algorithms (such as measures or layout algorithms). When they are applied to a subgraph, this result can be stored:

    • either in a local subgraph property (created on the fly if needed),
    • or in a property already existing in the ascendant hierarchy (inherited or local)."
     
  • Melançon Guy

    Melançon Guy - 2016-10-04

    Yeah, great! Thanks for replying so promptly!

     

Log in to post a comment.