Gephi 0.9.1 版本中缺少 Neo4j 插件
Neo4j plugin missing in Gephi 0.9.1 version
我是 neo4j 的新手。在我的图表中,有超过 5k 个节点,neo4j 浏览器没有显示所有节点,因为似乎有一个限制而且图片也很乱。
所以我试图安装 gephi 0.9 并安装它。
但是我找不到 neo4j 数据库插件。我检查下
工具 --> 插件 --> 可用插件部分
如果我遗漏了什么,请告诉我。
提前致谢。
您实际上不需要 Gephi 的 Neo4j 插件,因为您可以使用 neo4j-shell-tools instead to do a GraphML export,然后在 Gephi 中打开它。
注意 export-graphml
的选项解析有点错误(我应该打开一个关于它的问题);如果您想使用 -t
或 -r
标志,则必须在 -o
之前指定它们,如下所示:
export-graphml -r -o out.graphml match ...
我还必须向 GraphML 文件添加一些元数据描述,以便 Gephi 找到更多数据(我还应该就此提出一个问题,至少对于通用元数据而言)。文件的开头看起来像
<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<graph id="G" edgedefault="directed">
我改成了
<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="label" attr.type="string" for="node" id="labels"/>
<key attr.name="label" attr.type="string" for="edge" id="label"/>
<key attr.name="someProperty" attr.type="boolean" for="node" id="someProperty"/>
<!-- more descriptions of node properties -->
<graph id="G" edgedefault="directed">
我是 neo4j 的新手。在我的图表中,有超过 5k 个节点,neo4j 浏览器没有显示所有节点,因为似乎有一个限制而且图片也很乱。 所以我试图安装 gephi 0.9 并安装它。 但是我找不到 neo4j 数据库插件。我检查下 工具 --> 插件 --> 可用插件部分
如果我遗漏了什么,请告诉我。
提前致谢。
您实际上不需要 Gephi 的 Neo4j 插件,因为您可以使用 neo4j-shell-tools instead to do a GraphML export,然后在 Gephi 中打开它。
注意 export-graphml
的选项解析有点错误(我应该打开一个关于它的问题);如果您想使用 -t
或 -r
标志,则必须在 -o
之前指定它们,如下所示:
export-graphml -r -o out.graphml match ...
我还必须向 GraphML 文件添加一些元数据描述,以便 Gephi 找到更多数据(我还应该就此提出一个问题,至少对于通用元数据而言)。文件的开头看起来像
<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<graph id="G" edgedefault="directed">
我改成了
<?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key attr.name="label" attr.type="string" for="node" id="labels"/>
<key attr.name="label" attr.type="string" for="edge" id="label"/>
<key attr.name="someProperty" attr.type="boolean" for="node" id="someProperty"/>
<!-- more descriptions of node properties -->
<graph id="G" edgedefault="directed">