Question

I have a graphviz file generated in Python as follows:

strict graph G {
    iruo;
    valentin6232;
    shockwaver;
    jojo6938;
    beahero;
}

Unfortunately, if I open the graph file in Gephi it does not show any of the unconnected nodes. If I connect at least one edge it shows only the nodes of the connected edges. What's going on?

Was it helpful?

Solution

I fiddled around a bit and saw that if you introduce an empty attribute, Gephi successfully show all nodes, unconnected or not.

strict graph G {
    iruo [];
    valentin6232 [];
    shockwaver [];
    jojo6938 [];
    beahero [];
}

However, the dot program is capable of handling nodes that don't have any attributes, so I guess this issue is something specific to Gephi.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top