Closed MarkMcCulloh closed 1 month ago
class Node {} let a = new Node() as "a"; let b = new Node() as "b"; let c = new Node() as "c" in b; nodeof(a).addConnection( name: "1", source: a, target: c, ); // nodeof(c).hidden = true;
playground link
Hiding "c" (nodeof(c).hidden = true;) loses the connection entirely
nodeof(c).hidden = true;
Now it's not clear the a and b are technically related
Some sort of connection between a and b
No response
+100
I see! Will fix soon.
+1
@skyrpex @polamoros sync on this one since I guess you will need the same logic when the resources will be collapsed
Congrats! :rocket: This was released in Wing 0.74.19.
I tried this:
playground link
This happened:
Hiding "c" (
nodeof(c).hidden = true;
) loses the connection entirelyNow it's not clear the a and b are technically related
I expected this:
Some sort of connection between a and b
Is there a workaround?
No response
Anything else?
No response
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Community Notes