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