private ModelElement GetSourceRolePlayerForLinkMappedByStructurePropertyTypeOfConnector(StructurePropertyTypeOfConnector connector) { ModelElement element = connector.FromShape.ModelElement; return(element); }
private NodeShape GetSourceShapeForStructurePropertyTypeOfConnector(StructurePropertyTypeOfConnector connector) { var shape = connector.ParentShape; return((NodeShape)shape); }