This is a migrated thread and some comments may be shown as answers.

Cant create connections interactively

1 Answer 60 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Laurent
Top achievements
Rank 1
Laurent asked on 03 Oct 2015, 04:29 PM

I am using the diagram view in MVVM mode and I have built my test app starting from the MVVM SDK sample and the Class Diagram demo.

I can create shapes and connections programmatically. Connections created programmatically can be edited. I am using "gliding" connectors. My test app is able to create new shapes by dragging/dropping shapes from the toolbox. However, I cant create new connections interactively. When I click a shape, the center point of the shape shows up, when mousing over it, it gets highlighted and the tooltip "Connect" does appear. I am getting ConnectorManipulationStarted event. When dragging the mouse away no connector is showing up, and no Completed event ever fires. I have made sure that every editing related property is enabled on shapes, connectors and diagram style, but nothing...

 

Any idea ?

Thanks !

L.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Laurent
Top achievements
Rank 1
answered on 05 Oct 2015, 11:54 PM

Ok, I figured it out: The logic limiting connections between shapes was completely broken to a stupid copy/paste error... 

Works nicely now..

Tags
Diagram
Asked by
Laurent
Top achievements
Rank 1
Answers by
Laurent
Top achievements
Rank 1
Share this question
or