Skip to content

Commit

Permalink
refactor: change history label font-weight
Browse files Browse the repository at this point in the history
  • Loading branch information
nimec01 committed Sep 4, 2024
1 parent 4323fb4 commit d0ac482
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mermaid/src/dagre-wrapper/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,13 @@ const historyBase = async (parent, node) => {

const history = async (parent, node) => {
node.labelText = 'H';
node.labelStyle = 'font-weight: bold;';
return await historyBase(parent, node);
};

const deephistory = async (parent, node) => {
node.labelText = 'H*';
node.labelStyle = 'font-weight: bold;';
return await historyBase(parent, node);
};

Expand Down

0 comments on commit d0ac482

Please sign in to comment.