Skip to content

Commit

Permalink
displayName of dryRun
Browse files Browse the repository at this point in the history
  • Loading branch information
goranbs committed Jul 25, 2023
1 parent 2f65952 commit a88714e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend-dev/src/routes/visualizations/ddag/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@
function buildDiagram () {
mermaidCode = []; // clear mermaidCode
let node0 = dryrun_results.dryRun.nodes[0];
let dryrun_name = node0.displayName;
mermaidCode.push(`---\ntitle: ${dryrun_name}\n---`);
mermaidCode.push(`graph ${graphOrientation};`);
//workflow.spec.templates.forEach((template) => {
workflow.workflowTemplate.argoWorkflowTemplate.spec.templates.forEach((template) => {
Expand All @@ -217,7 +220,7 @@
};
});
diagram = mermaidCode.join("\n");
//console.log(diagram);
console.log(diagram);
}
const renderDiagram = async () => {
Expand Down

0 comments on commit a88714e

Please sign in to comment.