Import 如何使用gephi工具包导入文件以附加现有图形?
如果我已经将一个文件导入到一个容器中,并且我想将另一个文件附加到前一个文件中,以便使用gephi toolkit生成一个更大的图形Import 如何使用gephi工具包导入文件以附加现有图形?,import,append,toolkit,gephi,Import,Append,Toolkit,Gephi,如果我已经将一个文件导入到一个容器中,并且我想将另一个文件附加到前一个文件中,以便使用gephi toolkit生成一个更大的图形 File graphmlFile = new File("f:\\test1.graphml"); File graphmlFile1 = new File("f:\\123.graphml"); // Init a project - and therefore a workspace ProjectController pc =
File graphmlFile = new File("f:\\test1.graphml");
File graphmlFile1 = new File("f:\\123.graphml");
// Init a project - and therefore a workspace
ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
pc.newProject();
Workspace workspace = pc.getCurrentWorkspace();
// get import controller
ImportController importController = Lookup.getDefault().lookup(ImportController.class);
//Import file
Container container = importController.importFile(graphmlFile);
然后我想导入graphmlFile1来追加graphmlFile,我该怎么做