paceholder / nodeeditor

Qt Node Editor. Dataflow programming framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create node control-flow-based ?

ChivenZhang opened this issue · comments

I want to use this solution, but I am confused about whether this framework can create control-flow based node. The pictures below show two different types: data-flow based / control-flow based.

200W@F8ZT`COH}X9LGB~T1H

F4OT5AT(}$Q3OVEU30REEQK

commented

Hello. Do you know if the shape and position of the node ports in QtNodes can be changed? For example, change the circular port to a rectangular port, move the circular port embedded in the edge of the node to the outside of the node, etc. If it can be changed, which function in the file needs to be rewritten?

@ChivenZhang could you please describe how exactly this "control flow port" works? Does it launch the recalculation upon arriving a signal? And the other ports do not to such an operation?

In my option,you can easily use NodeEditor to modify the interactive GUI of various flow graphs, but you need to create additional underlying logic to implement control flow, including the execution order of all nodes. The existing DataflowModel just realizes the function of data dissemination between nodes

I want to use this solution, but I am confused about whether this framework can create control-flow based node. The pictures below show two different types: data-flow based / control-flow based.

200W@F8ZT`COH}X9LGB~T1H

F4OT5AT(}$Q3OVEU30REEQK

got it. Thanks