Skip to content

Releases: li3zhen1/Grape

0.7.3-beta

21 Mar 03:44
e7459ac
Compare
Choose a tag to compare

What's Changed

  • [SIMD] Use any(mask) and simd_fast_length by @li3zhen1 in #51
  • [Observation] Fix retain cycle by @li3zhen1 in #52
  • [API] Remove obsolete initialViewportTransform by @li3zhen1 in #53

Full Changelog: 0.7.1...0.7.3-beta

0.7.3

21 Mar 19:48
fdae2eb
Compare
Choose a tag to compare

0.7.0

23 Feb 04:51
f89e012
Compare
Choose a tag to compare

What's Changed

This version introduces Observation based state management API. This enables a bi-direction state control for running state and canvas transformation, and reduces re-render times.

Screen.Recording.2024-02-22.at.23.50.55.mov

All the examples are updated with the new API.

  • [State Management] Add bidirection state management for running state and transformation. by @li3zhen1 in #47

Full Changelog: 0.6.2...0.7.0

0.6.2

21 Feb 03:54
a308de1
Compare
Choose a tag to compare

What's Changed

  • Fix issue-43: Dragging nodes does not work on iOS by @li3zhen1 in #44
  • Fix issue-42: allow drag on canvas by @li3zhen1 in #46

Full Changelog: 0.6.1...0.6.2

0.6.1

08 Jan 20:03
Compare
Choose a tag to compare

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

0.6.0

07 Jan 23:04
Compare
Choose a tag to compare

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

0.5.8

20 Dec 22:43
0d37f24
Compare
Choose a tag to compare
Merge pull request #39 from li3zhen1/treenode

Bug Fixes

0.5.7

04 Dec 03:20
060a646
Compare
Choose a tag to compare
  • Fix: Buffer resize

0.5.6

02 Dec 04:47
a7db027
Compare
Choose a tag to compare

Changelog

  • Added a new data structure BufferedKDTree. It reuses a managed buffer as forces tick (so there won't be frequent allocation/deallocation). This approach improves performance by ~40%.
  • Bugfixes.

0.5.5

29 Nov 04:02
Compare
Choose a tag to compare
  • Performance optimization: Use int overflow instead of fmod
  • Add random seeding support.