Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow visualization (Feature request) #250

Open
CTB-Software opened this issue Jan 26, 2023 · 1 comment
Open

flow visualization (Feature request) #250

CTB-Software opened this issue Jan 26, 2023 · 1 comment

Comments

@CTB-Software
Copy link

CTB-Software commented Jan 26, 2023

Hi I am using V2 (Beta/Preview). is there a way of changing the the colour of the SVG Wire that connected 2 nodes when the calculate function runs. like for example an if node

calculate(inputs) {
let result = 0;
if(inputs.operation == "True")
{
this.input.input1.setWireColour("yellow"); <== idea
this.input.input2.setWireColour("white"); <== idea
result = inputs.input1;
} else {
this.input.input1.setWireColour("white"); <== idea
this.input.input2.setWireColour("yellow"); <== idea
result = inputs.input2;
}
return { result };
}

image

@lublak
Copy link

lublak commented Dec 14, 2023

It would be nice to have a combination of both:
#213
So possibly that the lines are animated in the direction in which the data flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants