in src/loaders/io-loader.ts [28:40]
export function getOutputConnector(type: OutputType, config: any) {
switch (type) {
case OutputType.gremlinGraph: {
return new GremlinConnector(config);
}
case OutputType.gremlinCmd: {
return new GremlinCmdOutputConnector(config);
}
default: {
throw new Error('Invalid output type');
}
}
}