Skip to content

0.6.0

Compare
Choose a tag to compare
@li3zhen1 li3zhen1 released this 07 Jan 23:04
· 85 commits to main since this release

Changelog

Grape

  • State management: added state binding.
  • Gesture handing: callback supports.
    • onGraphMagnified(perform:)
    • onNodeDragChanged(perform:)
    • onNodeDragEnded(shouldBeFixed:)
    • onNodeTapped(perform:)
  • Rendering: introduced a rich set of mark modifier, including color, label(SwiftUI Views), stroke.

ForceSimulation

  • Performance: Reduced retain/release traffic.

Examples

  • Added an example MermaidVisualization.swift to explain these features.
Grape.0.6.0_MermaidExample.mov

Source code: MermaidVisualization.swift

What's Changed

  • Update SwiftUI View implementations by @li3zhen1 in #40
  • Patch: graph state management and api update. by @li3zhen1 in #41

Full Changelog: 0.5.8...0.6.0