Support for HTML-like labels in DOT representation

18 views
Skip to first unread message

Tilman Zuckmantel

unread,
Nov 15, 2022, 5:04:48 AM11/15/22
to scala-graph
Hi everybody,

does the scala-graph Dot tree support printing of HTML-like labels ? The following example of a simple DOT graph shows what I mean :

digraph {
  A -> B
  A [label = <<b>a</b>>]
}


I need the label to print without the quotes around the ID value <<b>a</b>> to be interpreted as a HTML stringas it would usually be printed with quotes ("<<b>a</b>>") using the toDot method. Is there a way to do this ? 

Thank you and Cheers,

Tilman

you can see the behavior here.



Tilman Zuckmantel

unread,
Nov 15, 2022, 5:27:46 AM11/15/22
to scala-graph
Hi again,

I noticed while creating a minimal example that the mistake was on my side. Indeed the label is printed as wished for.

Cheers,

Tilman

--
You received this message because you are subscribed to a topic in the Google Groups "scala-graph" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-graph/v_o2_D2wYsY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scala-graph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-graph/930378c7-f853-4ed4-bf3c-60e7f6330eb6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages