How to move an existing node to a subGraph?

  • JJC

    JJC - 2012-10-26

    on tulip user interface?

    Maybe it has to been done programmatically? through user developed plugin?

    I would assume this is a very rudimentary function.

    Any help is greatly appreciated! Thanks!


  • Patrick Mary

    Patrick Mary - 2012-10-26

    According to the graph theory, a subgraph of a graph G is a graph whose set of nodes is a subset of that of G, and whose set of edges is a subset of that of G restricted to this node subset.
    So a node cannot be moved in a subgraph.
    But when using Tulip a node can be added in a subgraph:
    - in the gui, just use the copy/paste tools
    - programmatically, use the tlp::Graph::addNode(node) method

    Hope this helps.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks