tikzsd-1.0.0: A program for generating LaTeX code of string diagrams.
CopyrightAnthony Wang 2021
LicenseMIT
Maintaineranthony.y.wang.math@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

TikzStringDiagram

Description

TikzStringDiagram is a module for defining TikzStringDiagram, the structure containing the TikZ objects needed to create a string diagram. A TikzStringDiagram is an instance of ShowLatex, where showLatex of a TikzStringDiagram is the LaTeX code for rendering the string diagram.

Synopsis

Documentation

data TikzStringDiagram Source #

TikzStringDiagram is a data structure containing the Tikz objects needed to draw a string diagram.

Constructors

TikzStringDiagram 

Fields

Instances

Instances details
ShowLatex TikzStringDiagram Source # 
Instance details

Defined in TikzStringDiagram

make_tikzsd :: NaturalTransformation -> NatFormatting -> String -> TikzStringDiagram Source #

make_tikzsd creates a TikzStringDiagram from a NaturalTransformation, a NatFormatting which can be used to format the NaturalTransformation, and a String of LaTeX code for options in the tikzpicture environment.