从R中的gml格式的数据绘制图形?

Drawing graph from data in gml format in R?

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
    ]