1)上記の設定のGMLファイルがあります。その後、
graph
[
Creator Gephi
directed 0
node
[
id "1955"
label "Org1"
graphics
[
fill "#ff0000"
]
]
node
[
id "1956"
label "Org2"
graphics
[
fill "#ff0000"
]
]
node
[
id "1957"
label "Person1"
]
node
[
id "1958"
label "Person2"
]
node
[
id "1959"
label "Person3"
]
node
[
id "1960"
label "Person4"
]
node
[
id "1961"
label "Person5"
]
node
[
id "1962"
label "Person6"
]
node
[
id "1963"
label "Person7"
]
edge
[
id "54566"
source "1955"
target "1957"
value 1.0
]
edge
[
id "54567"
source "1955"
target "1958"
value 1.0
]
edge
[
id "54568"
source "1955"
target "1959"
value 1.0
]
edge
[
id "54569"
source "1955"
target "1960"
value 1.0
]
edge
[
id "54571"
source "1956"
target "1957"
value 1.0
]
edge
[
id "54570"
source "1956"
target "1961"
value 1.0
]
edge
[
id "54572"
source "1956"
target "1962"
value 1.0
]
edge
[
id "54573"
source "1956"
target "1963"
value 1.0
]
]
あなたはそれが簡単だと思うならば、あなたは2つのカラムを持つexcelfileを作ることができ、「ソース」やCSVなどの「ターゲット」およびエクスポート、およびgephiにインポート:
Org1;Person1;
Org1;Person2;
Org1;Person3;
Org1;Person4;
Org2;Person1;
Org2;Person5;
Org2;Person6;
Org2;Person7;
次にレイアウトアルゴリズムを適用してレイアウトを作成します。 Yifan HuまたはForce Atlasで試してみてください。
2)あなたは上記のGML形式を使用して、メタ情報を追加するとデータが含まれている場合は、あなたがしたい:
node
[
id "1"
label "Person1"
sex "Male"
]
あなたはその後、特定の色を適用するためにパーティションの設定をランク付けして使用することができます/サイズ提供される属性に応じて