Flowcharting¶
Flowcharting element definitions
- class schemdraw.flow.flow.Box(*args, **kwargs)¶
Flowchart Process Box. Default box has minimum size (3, 2) but will expand to fit the label text. Size may be manually fixed using w and h arguments.
- Parameters:
w – Width of box
h – Height of box
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Connect(*args, **kwargs)¶
Flowchart connector/circle
- Parameters:
r – Radius of circle
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Data(*args, **kwargs)¶
Flowchart data or input/output box (parallelogram)
- Parameters:
w – Width of box
h – Height of box
s – slant of sides
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Decision(*args, **kwargs)¶
Flowchart decision (diamond)
- Parameters:
w – Width of box
h – Height of box
N – text for North decision branch
S – text for South decision branch
E – text for East decision branch
W – text for West decision branch
font – Font family/name
fontsize – Point size of label font
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Ellipse(*args, **kwargs)¶
Flowchart ellipse
- Parameters:
w – Width of ellipse
h – Height of ellipse
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.RoundBox(*args, **kwargs)¶
Alternate Process box with rounded corners
- Parameters:
w – Width of box
h – Height of box
cornerradius – Radius of round corners [default: 0.3]
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.StateEnd(*args, **kwargs)¶
End/Accept State (double circle)
- Parameters:
r – radius
dr – distance between circles
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Subroutine(*args, **kwargs)¶
Flowchart subroutine/predefined process. Box with extra vertical lines near sides.
- Parameters:
w – Width of box
h – Height of box
s – spacing of side lines [default: 0.3]
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- class schemdraw.flow.flow.Terminal(*args, **kwargs)¶
Flowchart start/end terminal
- Parameters:
w – Width of box
h – Height of box
- Anchors:
16 compass points (N, S, E, W, NE, NNE, etc.)
- schemdraw.flow.flow.labelsize(label, pad)¶
Get unit size of label and padding