This is open source code for Stitch's graph calculation logic. Here you will find code for handling the topological order of node calculation, including cycle detection, performance optimizations, and invocations of node evaluation.
Make sure you follow the pre-reqs below!
- To create the binary, first access the root directory of this repo and call:
./build.sh
- Drag the newly created
StitchEngine.xcframeworkfile into Stitch -> Project Workspace Settings -> Stitch Target -> "Frameworks, Libraries, and Embedded Content".
- Install
swift-create-xcframework, a package which abstracts away a complicated set of callers used to create the closed-source binary:
brew install segment-integrations/formulae/swift-create-xcframework- Enable permissions to run the build script:
chmod +x build.sh