Skip to content

0.2

Compare
Choose a tag to compare
@Nelarius Nelarius released this 02 Mar 07:38
· 285 commits to master since this release

New features and breaking changes

  • Breaking change: node title bars can now be fully customized as any ImGui content can now be placed between the new BeginNodeTitleBar/EndNodeTitleBar function calls. This change also removes the SetNodeName function.

image

Calculator icon by DinosoftLabs from Flaticon

  • Pins now come in different shapes: circle, quad, and triangle, in both filled and unfilled variants. The desired shape flag is passed as a function argument to BeginInputAttribute/BeginOutputAttribute.

image

  • Pins can now be offset from the node, controlled by the new imnodes::Style::pin_offset value.

image

  • Breaking change: removes StyleFlags_PinOutline and ColorStyle_PinOutline.

  • Breaking change: replaces SetNodePos with two functions: SetNodeScreenSpacePos and SetNodeGridSpacePos.

  • New editor panning utility functions: EditorContextResetPanningand EditorContextMoveToNode.

  • Added a multi-editor example! Check out example/multi_editor.cpp

Fixes

  • Selected nodes and links are now only deselected when clicking inside the same node editor window.
  • Overlapping node UIs and backgrounds don't glitch out anymore.

A huge thanks to everyone who contributed to imnodes!