Skip to content

Releases: SwiftGraphs/Grape

0.7.6-beta

25 Aug 22:41
d8d73ea
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.7.6-alpha...0.7.6-beta

0.7.6

06 Sep 18:29
d8d73ea
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.7.5...0.7.6

Add link styling API

21 Aug 23:39
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.7.5...0.7.6-alpha

0.7.5

17 Jun 06:22
Compare
Choose a tag to compare

Enable strict concurrency. Fix Swift 5.9 compilation errors.

Full Changelog: 0.7.4...0.7.5

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

Full Changelog: 0.7.3-beta...0.7.3

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