Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smarter placement of wire decorations in TikZ wiring diagrams #16

Closed
epatters opened this issue Sep 13, 2017 · 2 comments
Closed

Smarter placement of wire decorations in TikZ wiring diagrams #16

epatters opened this issue Sep 13, 2017 · 2 comments
Labels

Comments

@epatters
Copy link
Member

epatters commented Sep 13, 2017

The TikZ wiring diagrams now look pretty good, with one important exception: the placement of wire decorations (arrowheads, in compact closed categories; labels, in general) is poor. As a result, manual adjustment of the labels is sometimes needed for complex diagrams.

The problem arises because correct placement of wire decorations is not functorial, unlike the rest of rendering algorithm. Rather, decoration placement is a global operation. For example, a composition of identity morphisms should get a single label and/or arrow, not one for each identity in the composition.

@epatters
Copy link
Member Author

The TikZ wiring diagrams have just been rewritten. The problem raised in the second paragraph is no longer relevant, since wires in the wiring diagram now correspond one-to-one with paths in the TikZ picture. However, wire labels have not yet been implemented, so I'll leave this issue open for now.

@epatters
Copy link
Member Author

Superseded by #73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant