Skip to content
Compare
Choose a tag to compare
@Nelarius Nelarius released this 09 Mar 07:52
· 34 commits to master since this release

Special thanks to everyone who contributed to this release with a pr!

New features

  • Introduced the minimap #99
    • Just one function call is required: MiniMap()!
  • Programmatic interface to handle node and link selections #107 Introduces the functions
    • SelectNode
    • ClearNodeSelection
    • IsNodeSelected
    • SelectLink
    • ClearLinkSelection
    • IsLinkSelected
  • Auto-panning pans the editor automatically if the mouse goes outside the editor canvas while dragging nodes or links #120
  • Add ImGui-like user defined callbacks for minimap node hovering events #127
    • ImNodesMiniMapNodeHoveringCallback and ImNodesMiniMapNodeHoveringCallbackUserData added to imnodes.h

Screenshot 2022-03-09 at 9 42 03

The minimap in action!

Other changes

  • Render canvas gridlines by default in the light color scheme to be more consistent with ImGui.

Fixes

  • Prevent interaction with node graph if an ImGui widget is active. Fixes problems where the nodes underneath a color wheel move while manipulating the wheel.
  • Fixing some unresponsive UI issues arising from the reuse of internal ids #124
  • Prevents links from being hovered if a pin is hovered #126

Breaking changes

  • The code was reformatted to be more consistent with ImGui #95
    • Namespace renamed to ImNodes
    • The namespace is configurable, by defining IMNODES_NAMESPACE
    • All internal functions now CamelCase
    • Enums constants prefixed with ImNodes