0.6.0
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