package org.simantics.graph.query; import java.util.Arrays; import java.util.Collection; import org.simantics.graph.representation.TransferableGraph1; public class Graphs { public static IGraph createGraph(Paths paths, Collection tgs) { return TransferableGraphConversion.convert(paths, tgs); } public static IGraph createGraph(Paths paths, TransferableGraph1 ... tgs) { return createGraph(paths, Arrays.asList(tgs)); } }