combinat-diagrams-0.2: Graphical representations for various combinatorial objects

Safe HaskellNone
LanguageHaskell2010

Math.Combinat.Diagrams.Partitions.NonCrossing

Description

Diagrams of non-crossing partitions

The code

drawNonCrossingCircleDiagram' orange True $ NonCrossing [[3],[5,4,2],[7,6,1],[9,8]]

produces the diagram

Synopsis

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

Arguments

:: (Renderable (Path V2 Double) b, Renderable (Text Double) b) 
=> Colour Double

color

-> Bool

whether to write numbers from [1..n] next to the set elements

-> NonCrossing 
-> QDiagram b V2 Double Any