private string GenerateImport(CoreImport obj, CoreModel model, List <GeneratorResult> result) { CeusDLGenerator generator = new CeusDLGenerator(obj); generator.GenerateCode(result); return($"import \"{obj.Path.Substring(obj.BaseDirectory.Length+1).Replace(System.IO.Path.DirectorySeparatorChar, '/')}\"\n"); }
public CeusDLGenerator(CoreImport model) { this.model = new CoreModel(model); }
public GraphvizCeusDLGenerator(CoreImport model, bool generateSlim) { this.generateSlim = generateSlim; this.model = new CoreModel(model); this.helper = new CeusDLGenerator(model); }