Skip to content

Finding ways to navigate the graphs #86

Open
@Chico-Carneiro

Description

@Chico-Carneiro

Hi, thanks for working on this really cool tool!

I would like to suggest a few features to help navigation / UI / UX
I understand implementing features requires time and effort.

Essential (in my opinion):

  • (1) Highlight the root node by default [optional: highlight all the root nodes if they exist]
  • Have a dedicated shortcut a button that highlights the root

Really nice to have:

  • [Clickable] list with history of previously visited nodes

Nice to have:

  • Search by filename

Improvement:

  • A shortcut or a button to highlight all nodes' labels without having to select them
  • Different colors for input links vs. output links

Optional:

  • A way to highlight nodes which are leaves, aka they don't import from others (no output links)

I was trying to see if I could be useful and implement (1).
I don't have experience with three.js, but I was trying to understand how you populate the DATA variable in dep-tree/internal/entropy/index.html

I can see it has nodes, links and optional ['enableGui'].
If the user already "Choose the file that will act as the root of the dependency graph" then you can pass that info down somehow, and add the node to highlightNodes or as selectedNode.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions