Appearance
数学运算
¥Math Operation
本示例演示了如何使用不同的可组合项(例如 useNodeConnections
或 useNodesData
)在节点之间创建数据流。
¥This example demonstrates how to use the different composables like useNodeConnections
or useNodesData
to create a data flow between nodes.
我们使用节点创建一个简单的数学运算,用户可以输入两个数字并选择要执行的运算。
¥We use nodes to create a simple math operation, where the user can input two numbers and select an operation to perform.