Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Draw arrows.
- type ArrowConnector u = ConnectorImage u (Path u)
- leftArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector u
- rightArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector u
- leftRightArrow :: (Real u, Floating u) => Arrowhead u -> Arrowhead u -> ConnectorPath u -> ArrowConnector u
- uniformArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector u
Documentation
type ArrowConnector u = ConnectorImage u (Path u)Source
A connector with arrow tips. The connector is an Image,
drawing it returns the path - positions can be taken on the
path (e.g. midpoint
) for further decoration.
leftArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector uSource
Connector with an arrow tip at the start point / left.
rightArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector uSource
Connector with an arrow tip at the end point / right.
leftRightArrow :: (Real u, Floating u) => Arrowhead u -> Arrowhead u -> ConnectorPath u -> ArrowConnector uSource
Connector with two arrow tips, possibly different.
uniformArrow :: (Real u, Floating u) => Arrowhead u -> ConnectorPath u -> ArrowConnector uSource
Connector with the same arrow tip at both ends.