Flowcharting

Flowcharting element definitions

class schemdraw.flow.flow.Box(w: float = 3, h: float = 2, **kwargs)

Flowchart Process Box

Parameters
  • w – Width of box

  • h – Height of box

Anchors:
  • 16 compass points (N, S, E, W, NE, NNE, etc.)

schemdraw.flow.flow.Circle

alias of Connect

class schemdraw.flow.flow.Connect(r: float = 0.75, **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(w: float = 3, h: float = 2, s: float = 0.5, **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(w: float = 4, h: float = 2, N: Optional[str] = None, E: Optional[str] = None, S: Optional[str] = None, W: Optional[str] = None, font: Optional[str] = None, fontsize: float = 14, **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(w: float = 3, h: float = 2, **kwargs)

Flowchart ellipse

Parameters
  • w – Width of ellipse

  • h – Height of ellipse

Anchors:
  • 16 compass points (N, S, E, W, NE, NNE, etc.)

schemdraw.flow.flow.Process

alias of Box

class schemdraw.flow.flow.RoundBox(w: float = 3, h: float = 2, cornerradius: float = 0.3, **kwargs)

Alternate Process box with rounded corners

Parameters
  • w – Width of box

  • h – Height of box

Anchors:
  • 16 compass points (N, S, E, W, NE, NNE, etc.)

schemdraw.flow.flow.RoundProcess

alias of RoundBox

schemdraw.flow.flow.Start

alias of Terminal

schemdraw.flow.flow.State

alias of Connect

class schemdraw.flow.flow.StateEnd(r: float = 0.75, dr=0.15, **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(w: float = 3.5, h: float = 2, s: float = 0.3, **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

Anchors:
  • 16 compass points (N, S, E, W, NE, NNE, etc.)

class schemdraw.flow.flow.Terminal(w: float = 3, h: float = 1.25, **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.)