Cant create connections interactively

2 posts, 0 answers
  1. Laurent
    Laurent avatar
    15 posts
    Member since:
    Sep 2015

    Posted 03 Oct 2015 Link to this post

    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.

     

     

     

  2. Laurent
    Laurent avatar
    15 posts
    Member since:
    Sep 2015

    Posted 05 Oct 2015 in reply to Laurent Link to this post

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

    Works nicely now..

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top