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

HTML-Like Labels do not render properly for headlabel and taillabel #402

Open
AdrianCert opened this issue Apr 6, 2022 · 0 comments
Open

Comments

@AdrianCert
Copy link

AdrianCert commented Apr 6, 2022

According to HTML-Like Labels you can use html in label as well as for headlabel and taillabel

But unfortunately pygraphviz knows these two tags and sends them as a string

These two examples come from the same source code

  • Example for label:
a -> b	[label=<<TABLE BGCOLOR="#ffffff" BORDER="0"><TR ><TD >transition</TD></TR></TABLE>>,
  labeldistance=15,
  lp="5148.5,277.5",
  pos="e,5645,74.036 3682.2,503 4348.9,503 5645,503 5645,503 5645,503 5645,84.036 5645,84.036",
  shape=plain,
  style=solid];
  • Example for taillabel:
a -> b	[labeldistance=15,
  pos="e,5645,74.065 3682.2,480 4348.9,480 5645,480 5645,480 5645,480 5645,84.065 5645,84.065",
  shape=plain,
  style=solid,
  tail_lp="3818.2,416.61",
  taillabel="<<TABLE BGCOLOR=\"#ffffff\" BORDER=\"0\"><TR ><TD >transition</TD></TR></TABLE>>"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant