Skip to content

Commit

Permalink
Fix styling of start and finish nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-lobanov committed Jan 8, 2023
1 parent 7631ae6 commit a448825
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@ class MermaidNode {
return "notstarted";
}
static createStartNode() {
return new MermaidNode("start", "Start", "notstarted");
return new MermaidNode("start", "Start", "default");
}
static createFinishNode() {
return new MermaidNode("finish", "Finish", "notstarted");
return new MermaidNode("finish", "Finish", "default");
}
}
exports.MermaidNode = MermaidNode;
Expand Down
6 changes: 3 additions & 3 deletions src/mermaid-node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GitHubIssue } from "./models";

export type MermaidNodeStatus = "notstarted" | "started" | "completed";
export type MermaidNodeStatus = "default" | "notstarted" | "started" | "completed";

export class MermaidNode {
constructor(
Expand Down Expand Up @@ -53,10 +53,10 @@ export class MermaidNode {
}

public static createStartNode(): MermaidNode {
return new MermaidNode("start", "Start", "notstarted");
return new MermaidNode("start", "Start", "default");
}

public static createFinishNode(): MermaidNode {
return new MermaidNode("finish", "Finish", "notstarted");
return new MermaidNode("finish", "Finish", "default");
}
}

0 comments on commit a448825

Please sign in to comment.