GTLogicGraph
A generic graph made off the UIElement GraphView built into Unity.
Install / Use
/learn @rygo6/GTLogicGraphREADME
GTLogicGraph
The intent of this project is to provide a generic graph view based on the new GraphView and VisualElements system found in Unity 2018, the same systems which the new ShaderGraph are based off of.
It should be noted that this codebase is essentially a hard fork of the ShaderGraph source. It is HEAVILY based off of the ShaderGraph source code. Many sections of it are directly copied with minimal editing. I did exhaustively try to make this an extension that rests on top of the ShaderGraph source code. But unfortunately the ShaderGraph source is far too intertwined with the being a material node system rather than a generic node system. So my methodology has been to retain as much code and pattern from the ShaderGraph source as is ideal, while editing it to enable a generic graph system. Theoretically the ShaderGraph system could be reimplemented to use this as basis.
Completed or Started:
- Can drag graph around.
- Can zoom in/out of graph.
- Can drag nodes around.
- Can drag a box to multi select nodes and drag multiple nodes.
- Can drag line off of node.
- Can chain together nodes.
- Can open search menu to add nodes.
- Serializing and save of graphs.
- Graphs can be loaded into scene via LogicGraphInstance component.
- Slot input views
Still to do:
- Implement more common base types and nodes.
- Copy and paste nodes.
- Implement blackboards.
Installation
This repo is intended to cloned as a submodule into a unity project.
git submodule add https://github.com/rygo6/GTLogicGraph.git Assets/GeoTetra/GTLogicGraph
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
