hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
104 stars 22 forks source link

fix(21625): Prevent cycles in the Designer graphs #392

Closed vanch3d closed 5 months ago

vanch3d commented 5 months ago

See https://hivemq.kanbanize.com/ctrl_board/57/cards/21625/details/

The PR prevents cycles from being created in the Designer when connecting nodes either to themselves or back to the beginning of a chain.

This is the case exclusively of the OPERATION node, as being the only content that can be chained.

Before

screenshot-localhost_3000-2024 04 25-20_41_26

After

screenshot-localhost_3000-2024 04 26-15_43_40