Search found 2 matches

by Odett171993
01 May 2017 12:39
Forum: Filtering, Ranking & Interacting with the graph
Topic: Filter by partition
Replies: 2
Views: 203

Re: Filter by partition

Try this... PartitionBuilder pb = new PartitionBuilder(); FilterBuilder[] fb = pb.getBuilders(workspace); FilterBuilder filterBuilder = fb[0]; PartitionBuilder.NodePartitionFilter partitionFilter = (PartitionBuilder.NodePartitionFilter) filterBuilder.getFilter(workspace); partitionFilter.unselectAll...
by Odett171993
05 Apr 2017 12:50
Forum: Data Import / Export
Topic: Exporting GML Files with gephi-toolkit.jar
Replies: 1
Views: 133

Re: Exporting GML Files with gephi-toolkit.jar

ExportController ec = Lookup.getDefault().lookup(ExportController.class); ExporterGML gml = (ExporterGML) ec.getExporter(".gml"); try { ec.exportFile(new File(filename + ".gml"), gml); } catch (IOException ex) { ex.printStackTrace(); } this works for me