Sunday 30 June 2019

Gephi: Gexf: Types of graphs


There are three kinds of graphs.
         a. directed
         b. undirected
         c. mutual
If you do not specify the type of the graph, undirected is assumed by default.

How to define directed graph?
<graph defaultedgetype="directed">
    
</graph>

How to define undirecte graph?
<graph defaultedgetype="undirected">
    
</graph>

How to define mutual graph?
<graph defaultedgetype="mutual">
    
</graph>

By using ‘defaultedgetype’ attribute, you can specify the default edge type. You can override this behavior, by specify edge type using edgetype attribute of <edge> node.

Previous                                                 Next                                                 Home

No comments:

Post a Comment