fletcher.shapes.triangle()

An isosceles triangle node shape.

node(.., shape: "triangle", width: auto, height: auto, dir: top, angle: auto, aspect: auto, fit: 0.6)

Either the angle or aspect style parameter may be given, but not both. The triangle’s base coincides with the label’s base and widens to enclose the label; see https://www.desmos.com/calculator/i4i9svunj4.

fletcher.shapes.triangle(node)