Problem With Connector

Hi - I have been studying your excellent BPMN show case project (located here https://github.com/syncfusion/ej2-showcase-angular-bpmn-editor )

One feature that I am looking at is the ability to 'draw' connectors between nodes. My attached video shows you what I mean. The issue is that the connector is not staying connected to the source node when this action is done on a swimlane.

I have created a stackblitz so that issue can be easily reproduced and studied. Please help!

https://stackblitz.com/edit/stackblitz-starters-cscpzu?file=src%2Fapp%2Fdiag%2Fdiag.component.ts

Image_4917_1694524582069




Attachment: broken_connector_107fb7f4.zip

7 Replies

BM Balasubramanian Manikandan Syncfusion Team September 13, 2023 01:55 PM UTC

We can able to replicate the issue, we will validate and update with more details on Sept 15th, 2023



GD Gobinath Dhamotharan Syncfusion Team September 15, 2023 01:42 PM UTC

Hi,  

Reported Issue : Connector Created with User-Handle Inside Swimlane Is Not Connecting to the Source Node

We can reproduce the issue and confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on October 03, 2023 weekly patch release.  

https://www.syncfusion.com/feedback/46941/drawing-object-connector-is-not-connected-to-source-node-inside-swimlane


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.

Regards,  

Gobinath



KA Kabe September 15, 2023 03:11 PM UTC

great! looking forward to it.

K



VG Vivisa Ganesan Syncfusion Team September 18, 2023 01:19 PM UTC

Hi,

As we promised, We will fix this issue and provide the patch on October 03, 2023 weekly patch release.  

Regards,

Vivisa




SJ Sivaranjith Jeyabalan Syncfusion Team September 20, 2023 01:08 PM UTC

Hi Kabe,

Sorry for the inconvenience,

The issue appears to be within the sample you have provided. The problem arises when the drawing tool is not properly configured for the diagram, resulting in connector disconnections. We can fix this issue at application level by setting diagram tool as DiagramTools.DrawOnce. Please find the modified sample and code example below.

let drawingObject: ConnectorModel | NodeModel = {

          type: 'Orthogonal',

          shape: { type: 'Bpmn' },

        };

this.selectedItem.diagram.drawingObject = drawingObject;

this.selectedItem.diagram.tool = DiagramTools.DrawOnce;

this.selectedItem.diagram.dataBind();


Sample: SyncFusion Sept 12 (forked) - StackBlitz 

Regards,

Sivaranjith




KA Kabe September 20, 2023 06:35 PM UTC

Ok great, thanks!  As mentioned the code came from the syncfusion show case project and I would never have figured this out on my own since the issue only appear when the connector was made between nodes on the swim lane.

Relieved that it is working now. Thanks!

K



PR Preethi Rajakandham Syncfusion Team September 21, 2023 04:46 AM UTC

Hi Kabe,

You're welcome. 

We are glad to know that the reported problem has been resolved. Please let us know if you have any further queries on this. We are happy to help.

Regards,

Preethi R


Loader.
Up arrow icon