Safe Haskell | None |
---|---|
Language | Haskell98 |
Lattice path diagrams
- data LatticeConvention
- drawLatticePath :: Renderable (Path R2) b => LatticePath -> Diagram b R2
- drawLatticePath' :: Renderable (Path R2) b => LatticeConvention -> Colour Double -> Bool -> LatticePath -> Diagram b R2
- drawRectangularGrid :: Renderable (Path R2) b => (Int, Int) -> Diagram b R2
Documentation
data LatticeConvention Source
Which orientation to draw the lattice paths
drawLatticePath :: Renderable (Path R2) b => LatticePath -> Diagram b R2 Source
Draws a lattice path with the default settings
:: Renderable (Path R2) b | |
=> LatticeConvention | orientation |
-> Colour Double | color |
-> Bool | whether to draw a grid |
-> LatticePath | whether to draw a grid |
-> Diagram b R2 |
drawRectangularGrid :: Renderable (Path R2) b => (Int, Int) -> Diagram b R2 Source
Draws a rectangular grid of the given size