Skip to content

Commit 0ac70b2

Browse files
authored
Graph Builder (#181)
* basic graph view * structure of graph view * move view and module into its own directory * save position of each node into scriptable object. * able to delete node * ports * appearance of NodeView * handle unselect event on node * create edge on loading graph * handle node deleted. * fix disconnection of edge * reorder nodes by position x * refactor graph * sync position on drag leaving. * fix error on open behavior graph. * use custom menu with search bar. * minimap * set fixed minimap * fix position of created node. * adjust uss of views. * copy empty prefab as graph prefab instead of new gameobject to avoid useless gameobject created in the current scene * fix saving after position changed. * prefab only workflow * bind name and activate property of node. * node property view * variant view * fix generic menu on mac m1 * construct variant menu * syntax node * syntax node view * fix typo * VariantNode. * tick nodes * generate variant ports based on `GraphNodeVariant` * variant node view. * handle connection of VariantNode. * filter compatible ports by variant type. * set port index of GraphVariantNode. * construct edges from graph variant nodes. * Correct variant name of behavior node. * use `GraphVariantNode.Any` directly * rename connectable variant by graph node variant. * fix local variant node * scope variant. * sample of scope variant * rename scope variant. * field name attribute and drawer. * fix scope variant node. * fix deletion of syntax node. * update sample prefab * local and scope variant nodes. * node of variants. * colorize variant ports. * value preview of nodes. * basic setup of GraphExt * node class and color * custom behavior tree component and view * reorder node in hierarchy by its position. * remove link * ignore link of graph ext * create visual element from blob builder. * create visual element from blob builder. * remove UIElementsSchema * create ports for variants. * force reset `PropertyField` on constructor in `ImmediatePropertyField` to avoid bug cause by reset after construct. * create variant ports dynamically * fix bug: port will not appear on Node which just add into Graph. * integrate the latest version of GraphExt * dynamic ports * fix node title * fix node creation * graph node component * behavior tree node * fix node position * parent node of behavior node * behavior tree graph * variant node * behavior tree graph * behavior graph * variant node * delete useless scripts * remove uxml and uss of view * fix disconnection of tree port * variant node * variant node * behavior node view * compact view of behavior node title * delete edges once change variant type from graph node variant. * set variant port to edge * toggle variants by linked property. * colorize variant ports. * use variant node name as initiate name of variant component. * unify behavior node and variant node * fix variant port * fix compatible ports between variants * variant node title property * node title property * variant node title property * appearance of variant node * disconnect existing edges of variant once connect new one. * delete drawer of variant node * graph prefab as behavior tree source. * tweak name of behavior node. * fix behavior node reorder function * fix function of focus on selected game object. * execute BehaviorNodeComponent in Editor * display node type after change node name. * tweak appearance of action node. * sample with local variant. * sync node selection * upgrade OneShot * resolve * fix node deletion * fix build * move samples into Assets * add package scope * update versions * upgrade graph-ext * set random seed for entities. * rename scope variant to global variant * control graph of character controller sample * move codegen into essential package. * deprecate samples package. * restructure readme * update README * upgrade graph ext * Update README.md
1 parent d155691 commit 0ac70b2

File tree

447 files changed

+8472
-678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+8472
-678
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ Packages/variant.expression/Tests/
7979
Packages/codegen/Tests
8080
Packages/codegen/Tests.meta
8181
Packages/variant.expression/Tests.meta
82+
83+
Packages/com.quabug.graph-ext
84+
85+
/UIElementsSchema

Assets/Samples.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)