chocola-mint / VisualScriptingKai

Quality-of-life extensions to Unity Visual Scripting.
https://forum.unity.com/threads/visualscriptingkai-qol-extensions-to-visual-scripting.1524538
MIT License
44 stars 7 forks source link

Use a cached database to track embedded graphs in closed scenes and prefabs #1

Open chocola-mint opened 10 months ago

chocola-mint commented 10 months ago

(Due to conscription I won't be able to work on this properly until April 2024. In meantime if anyone wants to take on this feature, feel free to do so)

This feature will allow Graph Lens and Graph Analyzer to run queries against graphs that aren't actually loaded at the time of query, enabling the use of embedded graphs.

This should be done by building a per-project database that fetches all graph data on initial creation, and then dynamically adds entries to the database as the developer adds new embedded graphs in scenes and prefabs. The database, represented by the class GraphDatabase, should support:

Once GraphDatabase is complete, we can migrate GraphUtility's query methods to query against the database instead.