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

Node subtitle field that can be used to disambiguate nodes within node groups #301

Open
TheMartianLife opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TheMartianLife
Copy link

TheMartianLife commented Dec 19, 2024

Is your feature request related to a problem? Please describe.

When you have multiple nodes in a node group, they all have the same node title. This makes it difficult to trace or visualise node flow at the "specific node that was run/is running/should run" level.

Describe the solution you'd like

If a subtitle: field is present on all (or all minus one) nodes in a node group, debugging information and graph visualisation could distinguish each individual node in a node group by <title>_<subtitle>. For example:

title: Guard
subtitle: ArrowKnee
---
GUARD: I used to be an adventurer like you. Then I took an arrow in the knee...
===
title: Guard
subtitle: Disrespect
---
Guard: Disrespect the law, and you disrespect me.
===

If a crash happens while the second node is running, instead of saying "crash inside Guard" or "crash inside Guard_<UUID>", you could say "crash inside Guard_Disrespect". This could also be shown in the node group UI in the VSCode graph view - though I know the overall presentation of node groups here is still undecided.

Note: this does not mutate the title value, nor should it allow users to explicitly jump to a particular instance within a node group. This is purely for debug reasons, and also to bring the sense of descriptive node titles - that writers seem to make great use of - back into node groups. This should also assist users who are looking to examine or customise saliency.

@TheMartianLife TheMartianLife added the enhancement New feature or request label Dec 19, 2024
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

1 participant