How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-partition.Partition 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 / activity-diagram-primitives-demo.js View on Github external
let objectInState = new ObjectInState({
        position: { x: 600, y: 200 },
        size: { width: 100, height: 50 },
        name: 'name',
        state: 'state'
      });

      let activeState = new ActiveState({
        position: { x: 600, y: 300 },
        size: { width: 100, height: 50 },
        name: 'name',
        state: 'state'
      });

      let partition = new Partition({
        position: { x: 600, y: 350 },
        name: 'partition'
      });

      _this.graph.addCell([
        note,

        signalReceiptRight,
        signalReceiptLeft,
        signalSendingRight,
        signalSendingLeft,
        startState,
        endState,
        decision,
        objectInState,
        activeState,
github Flexberry / ember-flexberry-designer / tests / dummy / app / controllers / usecase-diagram-primitives-demo.js View on Github external
size: { width: 100, height: 40 },
        name: 'UseCase \n primitive \n 1',
        ports: {
          groups: {
            'in': {
              position: 'absolute'
            },
            'out': {
              position: 'absolute'
            }
          }
        }
      });
      _this.graph.addCell(jUseCase);

      let jUseCaseBoundary = new Partition({
        position: { x: 50, y: 150 },
        size: { width: 70, height: 50 },
        name: 'Boundary \n Very long string uuuuuuuuuuuuuuuuuuuuu \n the end',
        ports: {
          groups: {
            'in': {
              position: 'absolute'
            },
            'out': {
              position: 'absolute'
            }
          }
        }
      });
      _this.graph.addCell(jUseCaseBoundary);

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