标签出现在 Id 列中,而 Label 列保持为空

问题描述 投票:0回答:1

导入节点,标签出现在Id列中,Label列保持为空:

csv gephi
1个回答
0
投票

您的错误来自以下事实:您没有为每个节点使用单独的字段

id
,该字段应添加在任何其他字段之前。 Gephi 自动成为节点的 id,并尝试将边映射到现有 id。由于这似乎失败了,Gephi 在节点表中追加它找不到的 id 基本上是边缘列表中的每个节点。

改进的方法应使用以下电子表格作为节点:

id label 1 social media 2 mobile money technology 3 social media equity 4 justice for employees 5 five-factor model 6 the global belief in a just world 7 justice for the self 8 consumer personality 9 empowerment 10 brand advocacy 11 stimulus-organism-response theory 12 hotel satisfaction 13 mobile money agent 14 africa 15 continuous usage
下一个是边缘:

Source Target 8 8 8 5 8 1 8 3 2 14 2 15 2 9 2 13 2 2 2 11 10 12 10 4 10 7 10 10 10 6
这是 

Data Laboratory

 的外观。

节点

边缘

我做了一些即兴创作,但我希望这对你有用。恕我直言,这似乎很接近您想要实现的目标。

可以在

此处找到有关导入节点和边的 CSV 的非常好的详细教程。

注意:在您在评论中显示的导入中,您似乎将例如消费者个性与其自身联系起来。 Gephi 现在不允许,导入后会弹出一条消息,说 3 个自循环已被删除

© www.soinside.com 2019 - 2024. All rights reserved.