How to use the ember-flexberry-designer/objects/uml-primitives/fd-uml-note-connector.NoteConnector 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 / statechart-diagram-primitives-demo.js View on Github external
maxX += sidebarWidth;
        maxY = 840;
      } else {
        maxX = minX + maxX + sidebarWidth;
        maxY = minY + maxY;
      }

      _this.paper = new joint.dia.Paper({
        el: paper,
        width: maxX,
        height: maxY,
        gridSize: 1,
        model: _this.graph,
      });

      var linkNoteConnector = new NoteConnector({
        startPoint:{ x:100, y:100 },
        endPoint: { x:300, y:100 },
        source: { x:100, y:100 },
        target: { x:300, y:100 },
        attrs: { path: { title:'Коннектор комментария (Note Connector)' } }
      });

      var linkEventMessage = new Dependency({
        startPoint:{ x:100, y:150 },
        endPoint: { x:300, y:150 },
        source: { x:100, y:150 },
        target: { x:300, y:150 },
        labels:[{
          attrs: { text: { text: 'EventMessage' } }
        }],
        attrs: { path: { title:'Сообщение (Event Message)' } }
github Flexberry / ember-flexberry-designer / tests / dummy / app / controllers / deployment-diagram-primitives-demo.js View on Github external
maxX += sidebarWidth;
        maxY = 840;
      } else {
        maxX = minX + maxX + sidebarWidth;
        maxY = minY + maxY;
      }

      _this.paper = new joint.dia.Paper({
        el: paper,
        width: maxX,
        height: maxY,
        gridSize: 1,
        model: _this.graph,
      });

      var linkNoteConnector = new NoteConnector({
        startPoint:{ x:100, y:100 },
        endPoint: { x:300, y:100 },
        source: { x:100, y:100 },
        target: { x:300, y:100 },
        attrs: { path: { title:'Коннектор комментария (Note Connector)' } }
      });

      var linkDependency = new Dependency({
        startPoint:{ x:100, y:150 },
        endPoint: { x:300, y:150 },
        source: { x:100, y:150 },
        target: { x:300, y:150 },
        labels:[{
          attrs: { text: { text: 'Dependency' } }
        }],
        attrs: { path: { title:'Переход (Dependency)' } }
github Flexberry / ember-flexberry-designer / tests / dummy / app / controllers / activity-diagram-primitives-demo.js View on Github external
maxX += sidebarWidth;
        maxY = 840;
      } else {
        maxX = minX + maxX + sidebarWidth;
        maxY = minY + maxY;
      }

      _this.paper = new joint.dia.Paper({
        el: paper,
        width: maxX,
        height: maxY,
        gridSize: 1,
        model: _this.graph,
      });

      var linkNoteConnector = new NoteConnector({
        startPoint:{ x:100, y:100 },
        endPoint: { x:300, y:100 },
        source: { x:100, y:100 },
        target: { x:300, y:100 },
        attrs: { path: { title:'Коннектор комментария (Note Connector)' } }
      });

      var linkObjectFlow = new ObjectFlow({
        startPoint:{ x:100, y:150 },
        endPoint: { x:300, y:150 },
        source: { x:100, y:150 },
        target: { x:300, y:150 },
        labels:[{
          attrs: { text: { text: 'Label' } }
        }],
        attrs: {

ember-flexberry-designer

CASE addon for ember-flexberry applications

MIT
Latest version published 2 months ago

Package Health Score

64 / 100
Full package analysis

Popular ember-flexberry-designer functions