Skip to content

Alternate rendering mode with lines in a tree view? #2920

Open
@BurgerBob

Description

Version/Branch of Dear ImGui:

Version: 1.75
Branch: master

Complex trees can be hard to read

When editing complex trees, it is often hard to figure out which node a node is the child of.
Here is an example with a behavior tree:
Tree view

Here, it is difficult to tell at first glance that the parent of the node called "do JumpSafeFastAntiAir"
is the "Parallel Selector".

In that case, an alternate rendering mode à là old school windows would be useful :
image

Tentative :
image

Here I am imagining a version that detects when the lines are usefull (only when there are several levels under a node, or one or several a nodes at the end). It may be a little bit tricky to implement in immediate mode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions