Commit graph

7 commits

Author SHA1 Message Date
Yann Lanthony
4aec741a89 [core] Graph: add importGraphContent API
Extract the logic of importing the content of a graph within a graph instance from
the graph loading logic.
Add `Graph.importGraphContent` and `Graph.importGraphContentFromFile`
methods.
Use the deserialization API to load the content in another temporary graph instance,
to handle the renaming of nodes using the Graph API, rather than manipulating
entries in a raw dictionnary.
2025-02-06 16:46:04 +01:00
Yann Lanthony
98f1a9d516 [tests] Update tests to load graphs with strictCompatibility
Update tests that should fail if nodes are loaded as
CompatibilityNodes (resulting in false positives).
2024-11-14 19:11:08 +01:00
Yann Lanthony
3cc57f89e6 [tests] Attribute callback behavior on clearing upstream dynamic output 2024-10-28 10:33:05 +01:00
Yann Lanthony
7c21595da9 [tests] Test attribute callback behavior with dynamic outputs
New test suite that focuses on testing the behavior of the attribute
changes callback system when such an attribute is connected to
an upstream dynamic output value.
2024-10-26 23:39:11 +02:00
Yann Lanthony
e73e8f2fd7 [tests] Attribute callback behavior with upstream compound attributes
Test value change propagation and callback trigger
for attribute connected to Group and ListAttribues.
2024-10-25 18:53:02 +02:00
Yann Lanthony
31c5a5de5f [tests] Test graph loading behavior on connected attributes with callbacks 2024-10-25 18:44:05 +02:00
Yann Lanthony
4f82fa82ce [tests] Test suite for node attributeChanged callback mechanism
Suite of tests to validate the behavior of desc.Node 'on{Attribute}Changed' behavior.
2024-10-25 12:02:49 +02:00