Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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 },
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' }