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 for hiding of root node #9

Open
dvzacharycutler opened this issue Feb 7, 2023 · 2 comments
Open

Allow for hiding of root node #9

dvzacharycutler opened this issue Feb 7, 2023 · 2 comments
Assignees

Comments

@dvzacharycutler
Copy link
Collaborator

No description provided.

@dvzacharycutler dvzacharycutler self-assigned this Feb 7, 2023
@kirangadhave
Copy link
Member

Should this be handled in trrack-vis as well as trrackjs?
If the visualization hides the root node, should undo using trrack API go to the hidden root node?
How would trrack-vis handle this state?

@dvmartinweigl
Copy link

We were able to hide the root node in our application (sightline). As @dvzacharycutler suggested we removed the root node from trrack.graph.backend.nodes and set the root to the first child node. Of course we had to ensure that the node navigation stays within our customized graph. Even though this solution basically works, it would still be nice to support a custom root node by default in TrrackVis.

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

3 participants