How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-note.Note 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
attrs: {
          text: { text: 'Some text' },
          '.rotatable': { title:'Синхронизатор/разветвитель (Complex Transition)' } }
      });

      var сomplexTransitionVertical = new ComplexTransitionV({
        size: { height: 100 },
        position: { x: 100, y: 350 },
        attrs: {
          text: { text: 'Some text' },
          '.rotatable': { title:'Синхронизатор/разветвитель (Complex Transition)' } }
      });

      _this.graph.addCell([linkNoteConnector, linkObjectFlow, linkTransition, сomplexTransitionHorizon, сomplexTransitionVertical]);

      let note = new Note({
        position: { x: 450, y: 100 },
        size: { width: 100, height: 50 },
        name: 'note',
        attrs: { '.rotatable': { title:'Комментарий (Note)' } }
      });

      let signalReceiptRight = new SignalReceiptRight({
        position: { x: 450, y: 200 },
        name: ['Receipt1', 'text'],
        attrs: {
          '.rotatable': { title:'Получение сигнала (Signal Receipt)' }
        }
      });

      let signalReceiptLeft = new SignalReceiptLeft({
        position: { x: 450, y: 300 },
github Flexberry / ember-flexberry-designer / tests / dummy / app / controllers / statechart-diagram-primitives-demo.js View on Github external
let stateEx = new StateEx({
        position: { x: 450, y: 150 },
        name: ['StateName', 'dsfsdg', 'dsfsdg'],
        attributes: ['attr1'],
        attrs: { '.rotatable': { title:'Состояние (StateEx)' } }
      });

      let statechartClass = new StdClass({
        position: { x: 450, y: 250 },
        size: { width: 100, height: 40 },
        name: 'ClassName',
        attrs: { '.rotatable': { title:'Класс (Class)' } }
      });

      let note = new Note({
        position: { x: 450, y: 300 },
        size: { width: 100, height: 40 },
        name: 'Comment'
      });

      let startState = new StartState({
        position: { x: 100, y: 204 },
        attrs: {
          text: { text: 'Start State' }
        }
      });

      let endState = new FinalState({
        position: { x: 150, y: 200 },
        attrs: {
          text: { text: 'End State' }

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