]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graph/src/org/simantics/graph/query/Graphs.java
Option for exporting tg and pgraph with sharedlibrary
[simantics/platform.git] / bundles / org.simantics.graph / src / org / simantics / graph / query / Graphs.java
1 package org.simantics.graph.query;
2
3 import java.util.Arrays;
4 import java.util.Collection;
5
6 import org.simantics.graph.representation.TransferableGraph1;
7
8 public class Graphs {
9
10         public static IGraph createGraph(Paths paths, Collection<TransferableGraph1> tgs) {
11                 return TransferableGraphConversion.convert(paths, tgs);
12         }
13         
14         public static IGraph createGraph(Paths paths, TransferableGraph1 ... tgs) {
15                 return createGraph(paths, Arrays.asList(tgs));
16         }
17         
18 }