Reply To: Diffability

NodeCanvas Forums Support Diffability Reply To: Diffability

#15722
Gavalakis
Keymaster

Hello again,
Regarding the error with 2 subgraphs, hmm. I re-enabled that old feature of writing json to the asset file and tried to replicate the problem but I wasn’t able to. I don’t remember exactly the reproduction steps, but I wasn’t able to make something bad happen now. If I remember correctly, it had to do with using the same graph as sub-graph simultaneously (in the same parent graph), but I might be wrong :/ The unhappy accident was that the graph contents would simply be cleared and lost (obviously that is very bad). This is why I removed that feature back then, but I can’t really replicate anything bad right now with it enabled. I don’t think it matters to your solution since you do not change the YAML at all though.

In any case and regarding your solution; it is nice and reminds me of this -> https://nodecanvas.paradoxnotion.com/forums/topic/file-format/#post-14363

So basically the “true” json lives in the TextAsset and when that changes it updates the graph asset serialization, but the graph asset serialization is never the “true” serialization. Correct?

Let me know.
Thank you!

Join us on Discord: https://discord.gg/97q2Rjh