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

Allow nodes to have more than one parent #3950

Open
3 of 9 tasks
dysbulic opened this issue Oct 3, 2023 · 0 comments
Open
3 of 9 tasks

Allow nodes to have more than one parent #3950

dysbulic opened this issue Oct 3, 2023 · 0 comments
Labels
scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.feature New functionality

Comments

@dysbulic
Copy link

dysbulic commented Oct 3, 2023

Please select if your request is either something new or an enhancement

  • Enhancement of an existing feature.
  • Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup - Dendron's Lookup Command
  • Views - Dendron Preview, Tree View, Side Panels in the UI
  • Schema - Dendron Schemas
  • Pod - Data import from / export to Dendron
  • Publish - External Site Publish
  • Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe

The current Dendron structure is a tree. There are concept structures, however, in which an idea might fit within multiple categories, i.e. a node can have more than one appropriate parent.

Describe the solution you'd like

In the frontmatter, I'd like to be able to specify alt_name properties. I would like the alternate name to cause the node to appear in that point in the hierarchy in the various views of the system, particularly in the sidebar when rendered.

Ideally, I would be allowed to specify multiple alt_names by repeating the keyword multiple times and that would generate an array of values. More than likely though there aren't multiple instances of a keyword allowed, so it would need to be comma separated values.

Describe alternatives you've considered

I've not come up with another concise way to describe that a node should appear multiple places in the hierarchy.

My particular use case is I'm describing a game with thirteen teams where each team picks of item from an axis with thirteen options. Each team exists on 13 lists with a different "identity" on each. I'd like to be able to represent that in Dendron.

Additional context

This would introduce the possibility of cycles where someone traversing the tree could end up going in a circle forever if they're blindly descending through the tree.

This just requires programs to expand a level or two at a time and not assume it can walk the entire tree.

Alternatively, you could do cycle detection and have it be an error.

@github-actions github-actions bot added scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.feature New functionality labels Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope.publish Static site generation, sending note links and anything to do with publishing your notes. status.triage-needed type.feature New functionality
Projects
None yet
Development

No branches or pull requests

1 participant