Skip to content

Commit

Permalink
Merge pull request #341 from tasnim0tantawi/fix-mermaid
Browse files Browse the repository at this point in the history
fix mermaid cardinality
  • Loading branch information
1ilit authored Feb 5, 2025
2 parents da8961c + 0e19da0 commit 4ac039f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/exportAs/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export function jsonToMermaid(obj) {
return "||--||";
case i18n.t(Cardinality.MANY_TO_ONE_TO_ONE):
case Cardinality.MANY_TO_ONE:
return "||--o{";
return "}o--||";
case i18n.t(Cardinality.ONE_TO_MANY):
case Cardinality.ONE_TO_MANY:
return "}o--||";
return "||--o{";
default:
return "--";
}
Expand Down

0 comments on commit 4ac039f

Please sign in to comment.