Closed M-Wicenec closed 2 days ago
This PR modifies the edge validation logic to change how connections between Application nodes are handled. Instead of showing an error message when Application nodes are directly connected, it now indicates that the connection is fixable and updates the message to reflect that a Data node will be automatically inserted.
sequenceDiagram
actor User
participant ApplicationNode1 as Application Node 1
participant ApplicationNode2 as Application Node 2
participant Edge as Edge
participant DataNode as Data Node
User->>ApplicationNode1: Connect to ApplicationNode2
ApplicationNode1->>Edge: Validate connection
Edge->>ApplicationNode2: Check category type
Edge->>Edge: isValidLog with Fixable
Edge->>DataNode: Insert Data Node
Edge->>User: Show message "Inserted Data node as Application nodes may not be connected directly to other Application nodes"
Change | Details | Files |
---|---|---|
Changed validation behavior for Application-to-Application node connections |
|
src/Edge.ts |
when connecting application nodes to other application nodes we were showing an error message, even though we automatically fix this by inserting a data node. ive changed the validity to fixable and edited the message slightly
Summary by Sourcery
Bug Fixes: