Skip to content

fix: quote host names in DOT output#2167

Open
skrashevich wants to merge 1 commit intomasterfrom
fix-net-dots
Open

fix: quote host names in DOT output#2167
skrashevich wants to merge 1 commit intomasterfrom
fix-net-dots

Conversation

@skrashevich
Copy link
Copy Markdown
Collaborator

Wrap host identifiers with quotes when generating Graphviz DOT to avoid invalid identifiers if hostnames contain punctuation or spaces. Updated node declaration and both producer/consumer edges to use %q for host formatting in internal/streams/dot.go; other fields (IDs, labels, titles) remain unchanged

fix #2165

Wrap host identifiers with quotes when generating Graphviz DOT to avoid invalid identifiers if hostnames contain punctuation or spaces. Updated node declaration and both producer/consumer edges to use %q for host formatting in internal/streams/dot.go; other fields (IDs, labels, titles) remain unchanged.
@skrashevich skrashevich requested a review from AlexxIT March 21, 2026 13:21
@skrashevich skrashevich changed the title Quote host names in DOT output fix: quote host names in DOT output Mar 21, 2026
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.

hostname with dashes displays as multiple nodes on net.html

1 participant