How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-association.Association 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 / tests / dummy / app / controllers / usecase-diagram-primitives-demo.js View on Github external
position: { x: 250, y: 50 },
        name: 'Actor',
        ports: {
          groups: {
            'in': {
              position: 'absolute'
            },
            'out': {
              position: 'absolute'
            }
          }
        }
      });
      _this.graph.addCell(jUseCaseActor);

      let jUseCaseUndirAssociation = new Association({
        source: { x:500, y:80 },
        target: { x:700, y:80 },
        labels: [{ attrs: { text: { text:  'Undir association' } } }]
      });
      _this.graph.addCell(jUseCaseUndirAssociation);

      let jUseCaseDirAssociation = new DirectedAssociation({
        source: { x:500, y:150 },
        target: { x:700, y:150 },
        labels: [{ attrs: { text: { text:  'Directed association' } } }]
      });
      _this.graph.addCell(jUseCaseDirAssociation);

      let jUseCaseGeneralization = new UseCaseGeneralization({
        source: { x:500, y:200 },
        target: { x:700, y:200 },

ember-flexberry-designer

CASE addon for ember-flexberry applications

MIT
Latest version published 1 month ago

Package Health Score

67 / 100
Full package analysis

Popular ember-flexberry-designer functions