在第二节中我们已经见到了如何加载air-routes.graphml 文件。如果您跳过了那部分内容,让我们快速的回顾一下加载GraphML 文件,也看一下加载一个GraphSON JSON格式的文件。 加载GraphML 文件或者 GraphSON文件的不同是我们所使用的来自IoCore Tinkerpop 3类的方法的名称的不同。当我们加载一个graphML文件我们指定的方法是IoCore.graphml()
In section 2 we saw how to load the air-routes.graphml file. In case you skipped that part lets do a
quick recap on loading GraphML files and also look at loading a GraphSON JSON format file.
The only difference between loading a GraphML file or a GraphSON file is in the name of the
method from the IoCore Tinkerpop 3 class that we use. When we want to load a graphML file we
specify IoCore.graphml().
如果我们加载的是一个 GraphSON格式的文件,我们指定的方法是IoCore.graphson().
If we are loading a GraphSON format file we instead specify IoCore.graphson().
浙公网安备 33010602011771号