Page MenuHome

Node Editor: Minimap
Needs Triage, NormalPublicDESIGN

Authored By
Pablo Vazquez (pablovazquez)
Mar 19 2021, 2:39 AM
Tokens
"Love" token, awarded by Shimoon."Love" token, awarded by HEYPictures."Burninate" token, awarded by digim0nk."Love" token, awarded by lcs_cavalheiro."Love" token, awarded by AquaticNightmare."Love" token, awarded by juizoi."Love" token, awarded by Strike_Digital."Burninate" token, awarded by CreatorSiSo."Love" token, awarded by corpse."Burninate" token, awarded by calra."Love" token, awarded by Draise."Love" token, awarded by jc4d."Burninate" token, awarded by Slowwkidd."Love" token, awarded by damian."Love" token, awarded by someuser."Love" token, awarded by TimBrown."Yellow Medal" token, awarded by duarteframos."Like" token, awarded by billreynish."Burninate" token, awarded by lone_noel."Love" token, awarded by Yuro."Love" token, awarded by belich."Love" token, awarded by kenziemac130."Love" token, awarded by Erindale."Love" token, awarded by zanqdo.

Description

A mini-map is a bird's-eye of the entire node tree. A quick way to see in which area of the node graph we are.

The map is represented by a rectangle shape in the bottom right corner, its aspect ratio matches the editor size. It's background color matches the nodes editor's. It doesn't contain a grid.

Each node in the node tree is represented by a tiny rectangle in the map.

When zoomed in, the area is outlined:

Dragging this area will pan the view.

State

Active and selected nodes are highlighted:

Colors

Nodes could receive the color of its category.

Custom colors on nodes will take precedence over category.

Frames

When using frames, show the frame as a whole (coloured). Don't show the nodes inside the frame, as it can become too complex to read. Once there is a working prototype we can test and see if having the nodes inside works, but I'd start without the inside nodes.


The Minimap is shown by default but it can be hidden from the header via the Overlay icon and popover. The icon toggles all overlays, the popover includes options to toggle Minimap, breadcrumbs, and gizmos.


For the first prototype the minimap could be:

  • Non-interactive
  • Monochrome
  • Frames without nodes inside

Revisions and Commits

Event Timeline

Hans Goudey (HooglyBoogly) changed the subtype of this task from "To Do" to "Design".

Nice design. Question is, when implementing this, how to avoid generating inconsistency with all of the other editors(ex. animation editors), which also could need a mini-map, and keep Blender consistent?

Rather handy feature! Here's my 2cents:

"Nodes could receive the color of its category" - When looking at node tree from bird's view users care less about what particular nodes do(or what type they're of), more valuable information for them is to distinguish what bigger blocks of nodes do. Users typically represent such blocks by:

  • grouping them, in such case category's color wouldn't be much of help(all groups would have the same color)
  • putting them into frames, for better organization also colored

Would it be possible to color nodes by:

  1. a color of frame they are in or
  2. a custom color

Added examples of frames and custom color nodes, and changed how to toggle the minimap on/off.

Errors shown as exclamation signs, maybe? And nodes which have only inputs or only outputs shown as triangle arrows.

This should also be placed in the upper right to be consistent with the 3D Viewport navigation helpers.

@Aaron Carlisle (Blendify) - This should also be placed in the upper right to be consistent with the 3D Viewport navigation helpers.

Could work!

This should also be placed in the upper right to be consistent with the 3D Viewport navigation helpers.

Please don't.
Bottom right is the standard for this, and it's easier to reach. Also less clutter around the navigation gizmos.

Juan (jc4d) added a subscriber: Juan (jc4d).

This should also be placed in the upper right to be consistent with the 3D Viewport navigation helpers.

Please don't.
Bottom right is the standard for this, and it's easier to reach. Also less clutter around the navigation gizmos.

Totally agree.

A toggle for top or botton corner would be nice, I personally would prefer top right for muscle memory from visual widgets and also consistency with the rest. Keep up the awesome proposal! Hope to see this soon, from what I understand the drawing code from the editor is a tricky beast to do something like this, so best luck to you!

Input and output nodes are not like other nodes, the users should be able to recognize them is the minimap, right?

It looks like the in and output nodes are only recognizable in the category design, I think this might be problematic, because the category design is still up to debate, like what Miro said, but the in and output nodes need to be the anchor points for the users to know where they are in the node tree. Therefore I think the input and output nodes need to be recognizable even without the category design.

Another idea: While user holding a hotkey entire node view is replaced by this schematic minimap, and to move "rectangle of interest" user just moving mouse around so no need to click and drag it.