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

Can the user choose node names? #7

Open
jchia opened this issue Aug 12, 2024 · 0 comments
Open

Can the user choose node names? #7

jchia opened this issue Aug 12, 2024 · 0 comments

Comments

@jchia
Copy link

jchia commented Aug 12, 2024

If I understand the documentation correctly, there is no way to name nodes in a graph. E.g. I cannot have a graph like this:

digraph G {
    A;
    B;

    A -> B;
}

This is because there is no function that produces a NodeId for a given node name. Consequently generated graphs have generic names automatically assigned by dotgen.

Is my understanding correct? If so, this seems like a major drawback since users commonly want to decide the names shown for the nodes in their graphs.

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

No branches or pull requests

1 participant