Skip to content

Commit

Permalink
automatic connections compatible with drakon requirements if applied …
Browse files Browse the repository at this point in the history
…to correct shapes
  • Loading branch information
PiotrJustyna committed Mar 4, 2024
1 parent 72b1032 commit edab6de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HelloWorld.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ steps = [
Step {
originCoordinates = p2 (x, y),
name = x * 10 + y }
| x <- [0 .. 1],
y <- [0 .. 2]]
| x <- [0],
y <- [0, -1, -2, -3]]

connections :: [Step] -> [QDiagram B V2 Double Any -> QDiagram B V2 Double Any]
connections (x1: x2: xn) =
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 edab6de

Please sign in to comment.