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

时间:2015-05-26 12:55:46

标签: r graph rstudio graph-modelling-language

如何在Rstudio中绘制gml格式的图表(从facebook帐户下载)? Gml内容如下所示:

    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 个答案:

没有答案