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

[FEATURE] Implement HTML-Like labels for Graphviz DOT generation #27

Closed
ExusAltimus opened this issue Apr 7, 2021 · 4 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@ExusAltimus
Copy link

Quick and useful feature request
https://www.graphviz.org/doc/info/shapes.html#html
https://www.graphviz.org/pdf/dotguide.pdf

Graphviz supports HTML in labels, but needs to be escaped with < and > instead of quotes.
I suggest extending the DotEscapers helper class in order to support html like labels and adding a property to the GraphvizVertex class named something like "IsHtmlLabel" to enable the feature
Capture

@ExusAltimus ExusAltimus added the enhancement New feature or request label Apr 7, 2021
@KeRNeLith
Copy link
Owner

Hello @ExusAltimus!
This seems to indeed be a nice improvement. Do you have any start of work on the subject?
I can try to have a look otherwise.

@KeRNeLith
Copy link
Owner

KeRNeLith commented May 24, 2021

@ExusAltimus I prepared a branch for the feature. You can have a look at the html_label_graphviz branch, and feel free to give me feedback.
Then I will plan to merge it to the master branch.

EDIT: Here is a temporary package to test the feature.

@fireflycons
Copy link

UpVote UpVote
Would love to see this released soon.

Thanks.

@KeRNeLith
Copy link
Owner

Feature implemented in 49cc703 and is available on releases >= 2.3.1.

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

No branches or pull requests

3 participants