Skip to content

Support printing enhanced graphs in Tikz #107

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

Merged
merged 1 commit into from
May 18, 2022

Conversation

danielhers
Copy link
Contributor

@danielhers danielhers commented May 18, 2022

With enhanced=1, the enhanced graph will be printed under the text.
Example:
texput

@martinpopel martinpopel merged commit 4e97dec into udapi:master May 18, 2022
@martinpopel
Copy link
Contributor

Nice. Thanks.
I have other ideas, but no time to implement them (noting it here just in case anyone finds it useful):

  • Hide the enhanced edges that are included also in the basic dependencies graph (or allow different colors for the edges which are "extra" or "missing" as in examples on the UD page.
  • Allow the as_tree mode by drawing a "minimum spanning tree" (edge weight could be 0 if the edge is included in basic deps and 1 otherwise) and the remaining edges would be visualized as non-tree edges.
  • Implement this also in write.TextModeTrees.

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

Successfully merging this pull request may close these issues.

2 participants