Skip to content

Cheatsheet Overview

Compact overview of core GoFish building blocks and their key operators.

Shapes

Shapes are the basic building blocks of graphics. They are used to create the visual elements of a graphic.

Operators

markThe mark method is used to specify the shapes we place in each of the regions created by the flow operator.
refThe ref method is used to reference a shape by its name.

Components

nameA rectangle shape.
ellipseAn ellipse shape.
petalA petal shape.

Coordinate Transforms

Coordinate transforms are used to transform the coordinate system of a shape.

Operators

coordThe coord method is used to specify the coordinate transform of a layer.

Components

linearA linear coordinate transform.
polarA polar coordinate transform.
clockA clock coordinate transform.
wavyA wavy coordinate transform.
bipolarA bipolar coordinate transform.
arcLengthPolarAn arc length polar coordinate transform.