How to modulate nodes/edge transparency ?

  • Pierre Le Clézio


    I'm using Tulip 4.1 for my own network topology visualization application and I'm coding in c++.
    In this application I'm trying to represent the devices involved with their external and internal ports. In my idea, I would like to display them as much as possible in the way they really appear. Basically, create a box with some ports inside and outside.

    To do this, I tried to make a node which all-encompassing the internal nodes and attach the external ones to its surface. But it seems that it is not possible to modulate the transparency of the nodes… Or I didn't find any way to change it !
    Therefore, I tried to create a GlBox to achieve the same goal but again, I couldn't be able to change the transparency…

    Does anyone has an idea ?



  • Patrick Mary

    Patrick Mary - 2013-04-22

    I not sure to well understand your problem but
    I suppose that the edges overlapping transparent nodes are not visible.
    You can solved this using the "Layers" panel of the Node link diagram view.
    Just activate the "Stencil" of the Main->graph->Edges layer in this panel.

    Hope this helps.

  • Pierre Le Clézio

    First of all, thank you for your quick answer !
    In fact, I meant directly in the code, is it possible to modulate the transparency of nodes ?

    Because it seems that the "alpha" coefficient in the colors property "viewColor" doesn't change nodes transparency but rather their brightness, am I right ?



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

Sign up for the SourceForge newsletter:

No, thanks