-
Notifications
You must be signed in to change notification settings - Fork 62
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
Trouble fitting labels inside the picture #161
Comments
@PeterNorlindh a quick workaround would be to use |
Another option is to use As an example: gplot(
path_digraph(3),
[1,2,3], #x coord
[1,2,3], #y coord
nodelabel=["ABCDEFGHI","JKLMNOP","QRSTUVWXYZ"],
nodelabeldist=[2.5,0,-2.7], #shift the first node 2.5 to the right, middle node 0 units, right node 2.7 to left
nodelabelangleoffset=0 #label along the horizontal center line of the nodes
) If you are satisfied, feel free to close the issue. Thanks for the great question! |
This was referenced Jul 27, 2022
Merged
Closed
Closed by #186 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using draw(PNG("myGraph.png", 200, 200), gplot(g)) and have trouble fitting the nodelabels entirely inside the frame of the picture, see below. Is there a way to fix this?
Thanks, this package is awesome!
The text was updated successfully, but these errors were encountered: