Skip to content

Commit

Permalink
no arrow heads for drakon compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrJustyna committed Mar 13, 2024
1 parent 9b2e513 commit 00c5f03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HelloWorld.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ steps =
++ [Step { originCoordinates = p2 (0, -4), name = uniqueName 0 4, stepType = EndType }]

connections :: [Step] -> [QDiagram B V2 Double Any -> QDiagram B V2 Double Any]
connections (x1: x2: xn) = connectOutside (stepName x1) (stepName x2): connections (x2: xn)
connections (x1: x2: xn) = connectOutside' (with & arrowHead .~ noHead) (stepName x1) (stepName x2): connections (x2: xn)
connections (x1: []) = []
connections [] = []

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## hello world

* `ghc HelloWorld.hs && ./HelloWorld -o hello-world.svg -w 400`
* `ghc HelloWorld.hs && ./HelloWorld -o hello-world.svg -w 200`

![hello-world](./hello-world.svg)

Expand Down
2 changes: 1 addition & 1 deletion hello-world.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 00c5f03

Please sign in to comment.