Coder Social home page Coder Social logo

li3zhen1 / grape Goto Github PK

View Code? Open in Web Editor NEW
208.0 5.0 9.0 22.68 MB

A Swift library for graph visualization and efficient force simulation.

Home Page: https://li3zhen1.github.io/Grape/Grape/documentation/grape

License: MIT License

Swift 100.00%
force-directed-graphs graph simulation swift swiftui visualization physics-simulation

grape's Introduction

Hi, I’m Zhen.

I’m interested in visualization, human-computer interaction and programming languages. Sometimes I tinker with typography and graphics.

I love Pokémon games. If you spot a laptop with 4 pixelated Pokémon stickers on it, that’s mine.

grape's People

Contributors

heckj avatar li3zhen1 avatar x-0o0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

grape's Issues

Would you share you visionOS app to our Demo Share Platform

Hello, I am Zhang Siqi, the person in charge of SwitGG and XReality.Zone.

Events hosted by these two communities have been officially recommended by Apple multiple times, and you can still find our SwiftGG: WWDC.Playground event organized this year on the Beyond WWDC official website.

I am reaching out to you because I heard that you have a demo for visionOS. Would you be interested in publishing it on our visionOS app exchange platform?

Application Exchange Platform: https://github.com/XRealityZone/Let-us-xrOS/blob/main/README.md
Application Data Repository: https://github.com/XRealityZone/XRApps/blob/main/README.md

Here is a brief explanation of why we are undertaking this project.

With the release of Apple Vision Pro this summer, the era of spatial computing is upon us, inspiring tech enthusiasts and developers to think about crafting unique three-dimensional applications with new interactions, systems, and hardware.

Since the WWDC 2023 keynote, social media has been abuzz with stunning visuals and demo videos of visionOS apps, but due to the Apple Vision Pro not being officially released yet, it's difficult for us to try out other developers' creations.

To address this, we have developed the Let’s xrOS app, which allows you to test out visionOS apps from other creators in the community, giving you early access to the charm of spatial computing devices.

We hope this tool will enhance the frequency of exchanges between developers and promote the growth of the entire community.

I look forward to your response!

Wishing you all the best!

P.S.: Please do not publicize this app and data repository yet. Let's wait for our official announcement tomorrow, and then you can help us promote it. For now, my main objective is to gather some developers' apps to generate interest in the store!

To Publish `/docs` to GitHub Pages

Hi, @li3zhen1

I think there's something wrong with publishing the "docs" folder, so I share my solution here:

The documentation should be published on the path: /documentation/grape

https://li3zhen1.github.io/Grape/documentation/grape

If the documentation doesn't appear on the path, please check the publish condition on the repository settings:

  1. Got to Settings > Pages > Build and deployment
  2. Set Source to Deploy from a branch
  3. Select Branch to main, /docs
  4. Click Save

Dragging nodes does not work on iOS

Several of the examples include the ability to drag nodes. When built for macOS, the nodes can be tapped (clicked) and dragged. When built for iOS, only tapping works.

I discovered this first by incorporating this library in my iOS app, then adding handlers as documented. I spent a long time trying to understand why I could only get onNodeTapped to work, adding and removing handlers to see if they made any difference. I was not able to understand why by reading your code, but I assume I just missed something.

I eventually decided to build and run the examples project on macOS, then on an iOS simulator. This is when I discovered that they do not perform the same.

Any ideas what might be causing this?

Thanks, Wilson

Make the view scrollable / pan to move

Thanks for your great work!
Is it possible to make the view scrollable, i.e., make the view larger than the screen and use pan and zoom to navigate around?
I tried to wrap the view inside a scrollview, but without success.
Also, the pinch to zoom gesture seems to be buggy.

Thanks again for your support.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.