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()
!
- Just one function call is required:
- 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
andImNodesMiniMapNodeHoveringCallbackUserData
added toimnodes.h
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
- Namespace renamed to