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

Support the Graphviz size attribute #4

Open
kjellmf opened this issue Apr 16, 2014 · 0 comments
Open

Support the Graphviz size attribute #4

kjellmf opened this issue Apr 16, 2014 · 0 comments

Comments

@kjellmf
Copy link
Collaborator

kjellmf commented Apr 16, 2014

Dot2tex currently does not do anything with the size attribute. This is how
Graphviz interprets size:

Maximum width and height of drawing, in inches. If defined and the drawing
is too large, the drawing is uniformly scaled down so that it fits within
the given size.

If size ends in an exclamation point (!), then it is taken to be the
desired size. In this case, if both dimensions of the drawing are less than
size, the drawing is scaled up uniformly until at least one dimension
equals its dimension in size.

A similar behavior could be implemented by scaling the resulting
tikzpicture or pstrics environment.

Original GC issue: https://code.google.com/p/dot2tex/issues/detail?id=7

@kjellmf kjellmf changed the title Support the Graphiviz size attribute Support the Graphviz size attribute Apr 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant