Safe Haskell | None |
---|---|
Language | Haskell2010 |
Diagrams of non-crossing partitions
The code
drawNonCrossingCircleDiagram' orange True $ NonCrossing [[3],[5,4,2],[7,6,1],[9,8]]
produces the diagram
- drawNonCrossingCircleDiagram :: (Renderable (Path V2 Double) b, Renderable (Text Double) b) => NonCrossing -> QDiagram b V2 Double Any
- drawNonCrossingCircleDiagram' :: (Renderable (Path V2 Double) b, Renderable (Text Double) b) => Colour Double -> Bool -> NonCrossing -> QDiagram b V2 Double Any
- makeRoundedPolygonCCW :: Renderable (Path V2 Double) b => Double -> [P2 Double] -> QDiagram b V2 Double Any
Documentation
drawNonCrossingCircleDiagram :: (Renderable (Path V2 Double) b, Renderable (Text Double) b) => NonCrossing -> QDiagram b V2 Double Any Source
Draws a Ferrers diagram with the default settings (English notation, no boxes)
drawNonCrossingCircleDiagram' Source
:: (Renderable (Path V2 Double) b, Renderable (Text Double) b) | |
=> Colour Double | color |
-> Bool | whether to write numbers from |
-> NonCrossing | |
-> QDiagram b V2 Double Any |