Activity for Melançon Guy

  • Melançon Guy Melançon Guy posted a comment on ticket #898

    I see, thanks for looking into this. I overlooked the parameter "original model" so I expected the original model to be executed ... May I suggest to set the default value of the "original model" parameter to true?

  • Melançon Guy Melançon Guy created ticket #898

    Underlying algorithm of Watts Strogatz random model

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Perry, I followed the discussion you are having with Bruno, allow me to jump in. If I understand well, you are annoyed by the fact that the top level graph contains both the metanode you created and the nodes it contains, and would like to only have the metanode, the contained node being accessible by other means (double clicking the metanode in the GUI for instance). This however is not possible. The highest level graph in the hierarchy will necessarily contain the collection of all nodes that...

  • Melançon Guy Melançon Guy posted a comment on ticket #890

    General trees are often used to encode a cluster structure, where leaves correspond to clusters and inner nodes correspond to hierarchical merging patterns of clusters. The number of leaves in such a tree thus exactly corresponds to the number of clusters which may be handy to control when generating a tree. While binary trees with a given number of leaves can easily be generated, I am struggling to find a reference for an algorithm that does the same for geenral trees (at first I thought one of...

  • Melançon Guy Melançon Guy created ticket #890

    Random General Tree Algorithm

  • Melançon Guy Melançon Guy created ticket #157

    Extending the GML export plugin?

  • Melançon Guy Melançon Guy posted a comment on ticket #884

    I'm happy I could help renovate Tulip's dusty and deeper layers ... :-)

  • Melançon Guy Melançon Guy created ticket #884

    inducedSubgraph method adding nodes multiple times ?

  • Melançon Guy Melançon Guy posted a comment on ticket #883

    Fast & Furious? Thanks.

  • Melançon Guy Melançon Guy created ticket #883

    Typo in tulip-python documentation

  • Melançon Guy Melançon Guy created ticket #881

    Eccentricity Plugin returns -1 diameter when selecting unnormalized values

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi tidana, I happen to know what's in the paper by van Liere and van de Leeuw (I was their office mate when working at CWI in Amsterdam :-). I believe the graph splatting technique implemented in Tulip is far more general, although the basic principle is the same: go from a discretization of a surface to a surface using gaussian kernels. More generally, colleagues in our team have explored quite a number of rendering approaches more or less inspired from splatting. Hope this helps.

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Indeed, make sure you instantiate the property before accessing it. Assuming UrbanAgglomeration stores integer values: graph.getIntegerProperty("UrbanAgglomeration") for n in graph.getNodes(): graph["OriNodeLabel"][n] = graph["UrbanAgglomeration"][n] You may also use a shortcut and store the instantiated property in a variable (to avoid retyping the whole expression): urb = graph.getIntegerProperty("UrbanAgglomeration") for n in graph.getNodes(): graph["OriNodeLabel"][n] = urb[n]

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Alain, Patrick will confirm, but the error is you want to access the property using the dot operator which is forbidden (but for the n.id interger id), you need to write: for n in graph.getNodes(): graph["OriNodeLabel"][n] = graph['UrbanAgglomeration'][n] Cheers

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Alain, long time no see, I hope you're doing fine -- well, you're still using Tulip which is a good sign :-) Using the export button (on the left behind the Undo/Redo buttons) you get a csv file containing all elements of the graph and all their user defined properties. I believe the simplest thing to do is create a user defined property that stores whatever system defined propery that you need to export, in your case the internal node id: def main(graph): nodeid = graph.getIntegerProperty("InternalNodeId")...

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Depends what you mean by "access". For instance, Dijkstra is executed when calling the maxDistance method (which helps you builds the distance matrix in a (undirected) graph. To my knowledge, the Floyd-Warshall algorithm is not readily available. Would be a nice addition to our stock of plugins -- want to contribute?

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Depends what you mean by "access". For instance, Dijkstra is executed when calling the maxDistance method (which helps you builds the distance matrix in a (undirected) graph. To my knowledge, the FLoyd-Marshall algorithm is not readily available. Would be a nice addition to our stock of plugins -- want to contribute?

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Me again, you write "I think that property-business is more of a hack, and you can't get that implemented really efficiently." I am sorry Oliver, but you are totally wrong. This is not a hack, this is one of the core features of Tulip which allows it to deal with very, very large graphs, and more particularly allows it to efficiently deal with very large hierarchies of graphs. I know no other software with that capabilities, and I know quite a few others. I can expand my thought on this if you loike....

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Oliver, ok, let's see if I can help. As a first step, you'd like to color internal nodes of your trees and them only, is that right ? So a way to acheive this wold be to: select all internal nodes make a subgraph out of them color nodes of that subgraph bring that coloring back to the original tree Is that right? I can script this in a few minutes, I juts need to make sure I get things right. ANd probably also define what color non-colored nodes wojuld be (white with a simple black border?) Cheers...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Groucho :-) you might have heard about inheritance in object oriented approaches: this is exactly how properties are dealt with in Tulip. That is, once a property has been defined for a grpah, it becomes available to all its subgraphs. Unless a subgraph (re)defines it (we call that property overridding in OO programming jargon). Now, assume you compute a property for a subgraph while a property with the same name exists at the (super) graph level: the canonical mechanism is that this property...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Oliver, you seem to be a very impatient person :-) I assure you the property-based approahc for grpahs is one of the most mathematically principled, general, multi-purpose and powerful approcah you can imagine. ï really hope you may believe me, I have been working in the area for quite some time. I could list tens of papers our tem has published in the area. The most reasonable thing to do is to stop looking for the right button to press. You need to sit down and write your own (python) script....

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Oliver, I need to make sure I understand the problem you are trying to solve. I believe Tulip can help you quite a bit. I would advise to have a real look at it before building your own app -- Tulip benefited (and still benefits) from a significant development effort over more than 10 years. So, I understand you need to visualize trees, small an d large. Tulip offers about 10 different tree layout algorithms adopting different geometrical patterns. Depending on the structure of the trees you...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Oliver, you are not talking to yourself, I am listening carefully :-) Haven't you seen my answer to your first post? I just ran a test, and it seems the R-T algorithm does take node size into account (at least their width). Again, you won't find an already made plugin that will use your k-tuples, you probably have to write a proper script that will do what you exactly need. For instance, applying you color scheme to non leaves nodes can be dealt with by custumizing the colormap using a function...

  • Melançon Guy Melançon Guy posted a comment on ticket #876

    Ok, will go to github. But the problem is not solved by calling applyIntegerAlgorithm (wiht proper integer proeprty), I get the same error again.

  • Melançon Guy Melançon Guy created ticket #876

    No plugin named Louvain?

  • Melançon Guy Melançon Guy created ticket #872

    Import CSV broken feature

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    HI Faysal, you need to use TUlip's scripting facilities to access the value. Any plugin (you can trigger using a button and even those you would code yourself) can be triggered from python code. For instance, to run Louvain on your graph, you would do: graph.applyDoubleAlgorithm('Louvain', graph['viewMetric']) Now, the trick is you want to access the modularity parameter so you also give the method a container: dataSet = tlp.getDefaultPluginParameters('Louvain', graph) graph.applyDoubleAlgorithm('Louvain',...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Faysal, Tulip is based on node and edge properties: everything is stored in a property, you can ask a property what value it holds for any node or edge. In the case of Louvain, the result of the algorithm assigns everynode to a class (a cluster). This is stored as an integer, and stored in the viewMetric property (this is the default numerical property, whatever algorithm you run results in values being set in this property, unless you specify a property in which the result should be stored)....

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Hi Sébastien, It's actually pretty hard to figure what you are doing (I guess this is a language problem, French might work better ...). In any case, yes, using ulip definitely makes it possible to build a graph in any way you like and then display it using various tpes of algorithms. Sorry for this rather vague answer, please try to be more precise and specific. Sharing an example would certainly help. Guy

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Sébastien, It's actually pretty hard to figure what you are doing (I guess this is a language problem, French might work better ...). In any case, yes, using ulip definitely makes it possible to build a graph in any way you like and then display it using various tpes of algorithms. Sorry for this rather vague answer, please try to be more precise and specific, maybe share an exmaepl would help. Guy

  • Melançon Guy Melançon Guy created ticket #865

    Python IDE window too large

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    I had a look at the poker dataset posted on the Tulip website. The one line documentation says "edges are weighted with the amount of $ a player took to another". However, the only non-null metric on edges in the data is "nbConflicts". I believe the dataset is worth providing a clearer and exact description.

  • Melançon Guy Melançon Guy created ticket #860

    inducedSubGraph inconsistent

  • Melançon Guy Melançon Guy created ticket #858

    Layout plugin strange behavior

  • Melançon Guy Melançon Guy created ticket #857

    Node shape properties dialog out of reach

  • Melançon Guy Melançon Guy created ticket #856

    Weird behavior when rotating a triangle

  • Melançon Guy Melançon Guy created ticket #854

    getEdgesEqualTo and getNodesEqualTo

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Quentin, may I ask why you are running the 3.8 version? Seems a bit old. Many...

  • Melançon Guy Melançon Guy created ticket #849

    python binding pip installation with external plugins?

  • Melançon Guy Melançon Guy created ticket #844

    Error assigning vec3f to size property

  • Melançon Guy Melançon Guy posted a comment on ticket #842

    Great, thanks!

  • Melançon Guy Melançon Guy created ticket #842

    Invoking node metric resets edge values to 0

  • Melançon Guy Melançon Guy created ticket #841

    Induced subgraph from selection (python API)

  • Melançon Guy Melançon Guy posted a comment on ticket #840

    Yeah, great! Thanks for replying so promptly!

  • Melançon Guy Melançon Guy created ticket #840

    Reachable subgraph stores selection as local property

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Hi n0gare, it's nice to see we have new users coming in. Two things you need to distinguish...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi n0gare, it's nice to see we have new users coming in. Two things you need to distinguish...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Ah! It seems indeed to solve the problem, I didn't think about it but it actually...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Alain, thanks for sharing your file. I loaded it to try and see what is going...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hmm. Follow my instructions: 1. Launch Tulip and start from an empty graph. 2. Import...

  • Melançon Guy Melançon Guy posted a comment on ticket #830

    Great, thanks Patrick.

  • Melançon Guy Melançon Guy posted a comment on ticket #830

    You missed my point. Take the root graph R. Add a subgraph G. Create a property p...

  • Melançon Guy Melançon Guy created ticket #830

    Clone but only partially

  • Melançon Guy Melançon Guy posted a comment on ticket #828

    Great, thanks !

  • Melançon Guy Melançon Guy created ticket #828

    addStringVectorParameter?

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Yep, Antoine is right, you have to get your head into the tutorial and doc. It's...

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Yep, Antoine is right, you have to get your head into the tutorial and doc. It's...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Yep, Antoine is right, youhave to get your head into the tutorial and doc. It's been...

  • Melançon Guy Melançon Guy created ticket #827

    Colormap incoherent through different views

  • Melançon Guy Melançon Guy created ticket #826

    GUI - plugin not showing when using search bar

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi again Anais, sorry I was not able to reply right away. Thanks for sharing your...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Anais, would be great if you could share at least a sample of your data, so we...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Well, Dijkstra is of course part of Tulip but was not made available as a plugin....

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Alain, the edge betweenness is indeed computed on edges as well. The size mapping...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Yannis, what Benjamin is suggesting is to run a few lines of code in a Python...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi e, I'm happy you like the software, I like it too and use it quite a lot on an...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi David, have you had an answer to your question ? I am precisely trying to do the...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    I am invoking the Size Mapping plugin from the python interpreter part of the GUI...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    HI Anthony, I'm glad you like Tulip, I am also a big fan. I am not sure I get your...

  • Melançon Guy Melançon Guy posted a comment on ticket #144

    I got my answer, I thought I should report it. The setAllNodeValue (same for edges)...

  • Melançon Guy Melançon Guy created ticket #144

    setDefaultValue for properties

  • Melançon Guy Melançon Guy created ticket #790

    Scatterplot view on edge metrics?

  • Melançon Guy Melançon Guy created ticket #786

    Switching histogram from nodes to edges crashes Tulip

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Thomas, you need to clarify what you mean by "putt labels on a subgraph". Tulip...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Got my answer. I went to see the source code. The plug-in actually computes the "strength"...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Anyone can tell me why the Cluster plug-in return 1.33 as its max node value (with...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Hi Léo, I see a simple way to do it with a little python programming. You may build...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    How about checking the node's degree? Using python: if graph.deg(node) == 0: ...

  • Melançon Guy Melançon Guy created ticket #141

    Matrix view ordering using non numerical values

  • Melançon Guy Melançon Guy posted a comment on ticket #771

    I meant, viewFont is the only metric that is listed as available to compute a Google...

  • Melançon Guy Melançon Guy created ticket #771

    Geographic View not behaving ok

  • Melançon Guy Melançon Guy created ticket #770

    File name does not change after "Save as ..." on window bar

  • Melançon Guy Melançon Guy modified a comment on discussion Help

    Dear Cyrille, my guess is that there are no better way to work things out. I myself...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Dear Cyrille, my guess is that there are no better to work things out. I myself come...

  • Melançon Guy Melançon Guy created ticket #758

    Searching for null value in IntegerVectorProperty crashes Tulip

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Thanks Adam, I really appreciate your help. I just did what you suggested, running...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    Yep, I tried setting the PYTHONPATH to /Application/Tulip.app/Contents/lib/python...

  • Melançon Guy Melançon Guy posted a comment on discussion Help

    I just can't have the python binding work from a script (outside the Tulip GUI)....

1