예제 #1
0
 private void RenderGraphs(RootUst rootUst, HashSet <Stage> renderStages)
 {
     if (renderStages.Any())
     {
         var renderer = new StageRenderer
         {
             Logger          = Logger,
             DumpDir         = DumpDir,
             Stages          = RenderStages,
             RenderFormat    = RenderFormat,
             RenderDirection = RenderDirection
         };
         renderer.Render(rootUst);
     }
 }
예제 #2
0
파일: Workflow.cs 프로젝트: smartfish/PT.PM
 private void RenderGraphs(WorkflowResult result)
 {
     if (result.RenderStages.Any())
     {
         var renderer = new StageRenderer(result)
         {
             Logger          = Logger,
             DumpDir         = DumpDir,
             Stages          = RenderStages,
             RenderFormat    = RenderFormat,
             RenderDirection = RenderDirection
         };
         renderer.Render();
     }
 }