Drawing graph from data in gml format in R?

720 views Asked by At

How to draw a graph which is in gml format (it's downloaded from facebook account) in Rstudio? Gml content looks like this:

    node [
        id 287
        label "Jack Daniels"
        sex "female"
        agerank 2
        wallcount 83
        locale "hr_HR"
    ]
    node [
        id 288
        label "Margaret Grey"
        sex "male"
        agerank 1
        wallcount 1
        locale "en_GB"
    ]
    edge [
        source 0
        target 9
    ]
    edge [
        source 1
        target 5
    ]
0

There are 0 answers