How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-association-link.create function in ember-flexberry-designer

To help you get started, we’ve selected a few ember-flexberry-designer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flexberry / ember-flexberry-designer / addon / mixins / actions-for-primitives / fd-actions-for-cod-primitives.js View on Github external
this.createLinkData((function(linkProperties) {
        let jsonObject = getJsonForLink(
          'STORMCASE.UML.cod.Link, UMLCOD',
          linkProperties.source,
          null,
          linkProperties.target,
          null,
          null,
          { Name: '' }
        );
        let undirAssociationObject = AssociationLink.create({ primitive: jsonObject });
        undirAssociationObject.set('vertices', linkProperties.points || A());
        this._addToPrimitives(undirAssociationObject);
        return undirAssociationObject.JointJS();
      }).bind(this), e, A(['flexberry.uml.Instance', 'flexberry.uml.ActiveObject', 'flexberry.uml.MultiObject',
       'flexberry.uml.UsecaseActor', 'flexberry.uml.DesignPattern', 'flexberry.uml.ForwardAsyncMessage', 'flexberry.uml.ForwardFlatMessage',

ember-flexberry-designer

CASE addon for ember-flexberry applications

MIT
Latest version published 1 month ago

Package Health Score

64 / 100
Full package analysis

Popular ember-flexberry-designer functions