I am creating a DSL, I want to associate two Entities with a connector but I do not want the EntityMoniker to be in the underlying XML, I need it to be in the Diagram File. I am not sure why it is not in the Diagram file automatically as that seems to be the place where all information 'about' the diagram is held.
If I remove the element manually then obviously when I open the diagram up again the connection is gone.
I.e
  </Methods>
      <EntityAssociation>
        <e开发者_Python百科ntityMoniker Name="/6fa571fb-93ba-4f6f-a7ae-9fffee5eb901/Product" />
      </EntityAssociation>
    </Entity>
  </Entities>
I have found out that actually the connector is in the diagram, but this is the Presentation object for the relationship which is in the model
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论