element_51.visualsΒΆ

Pictures and series: values a node can show on its card and pass on.

PortValue (in model.py) stays the four plain kinds. Carried adds what cannot be typed into a box and can only travel along a link.

Module Attributes

Shown

What a card can display: the values of NodeOutcome.shown.

Functions

carries(value, kind)

Whether value is something a port of type kind can carry.

Classes

Image(*, width, height, channels, pixels)

A grey or colour picture, at most 256 by 256 pixels.

Series(*, values)

A list of numbers drawn as a line against its position: 0, 1, 2, ...