Flowcharting

Flowcharting element definitions

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

Flowchart box

Parameters
  • w – Width of box

  • h – Height of box

Anchors:
  • N

  • S

  • E

  • W

class schemdraw.flow.flow.Connect(**kwargs)

Flowchart connector (circle)

Parameters

r – Radius of box

Anchors:
  • N

  • S

  • E

  • W

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

Flowchart data box (parallelogram)

Parameters
  • w – Width of box

  • h – Height of box

  • s – slant of sides

Anchors:
  • N

  • S

  • E

  • W

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:
  • N

  • S

  • E

  • W

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

Flowchart start/stop box (ellipse)

Parameters
  • w – Width of ellipse

  • h – Height of ellipse

Anchors:
  • N

  • S

  • E

  • W

class schemdraw.flow.flow.Subroutine(w: float = 3.5, h: float = 2, s: float = 0.3, **kwargs)

Flowchart subroutine. Box with extra vertical lines near sides.

Parameters
  • w – Width of box

  • h – Height of box

  • s – spacing of side lines

Anchors:
  • N

  • S

  • E

  • W