Skip to content

Commit

Permalink
progress?
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrJustyna committed Mar 11, 2024
1 parent 3fe54d6 commit 70e4cc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Empty file added 2023-01-01
Empty file.
3 changes: 2 additions & 1 deletion HelloWorld.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import Diagrams.Prelude
import Diagrams.Backend.SVG.CmdLine
import Diagrams.TwoD.Text

data StepType
= StartType
Expand All @@ -22,7 +23,7 @@ stepShape :: Double -> Diagram B
stepShape x = rect 0.95 0.4 # showOrigin # named x

startShape :: Double -> Diagram B
startShape x = roundedRect 0.95 0.4 0.5 # showOrigin # named x
startShape x = text "hello" <> roundedRect 0.95 0.4 0.5 # showOrigin # named x

endShape :: Double -> Diagram B
endShape = startShape
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 70e4cc6

Please sign in to comment.