0.6.1
Changelog
New Documentation
Check out Grape | Documentation.
Grape
- State management: added state binding.
- Gesture handing: callback supports.
onGraphMagnified(perform:)
onNodeDragChanged(perform:)
onNodeDragEnded(shouldBeFixed:)
onNodeTapped(perform:)
- Rendering: introduced a set of mark modifier, including color/shape style, label(SwiftUI Views), stroke styles.
ForceSimulation
- Performance: Reduced retain/release traffic.
- Fix buffer resize.
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