Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
path: { title:'Изменение объекта (Object Flow)' },
}
});
var linkTransition = new Transition({
startPoint:{ x:100, y:250 },
endPoint: { x:300, y:250 },
source: { x:100, y:250 },
target: { x:300, y:250 },
labels:[{
attrs: { text: { text: 'Label' } }
}],
attrs: { path: { title:'Переход (Transition)' } }
});
var сomplexTransitionHorizon = new ComplexTransitionH({
size: { width: 100 },
position: { x: 100, y: 300 },
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 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' }
}
});
var сomplexTransitionHorizon = new ComplexTransitionH({
size: { width: 200 },
position: { x: 100, y: 300 },
attrs: {
text: { text: 'Some text' },
'.rotatable': { title:'Синхронизатор/разветвитель (Complex Transition)' } }
});
var сomplexTransitionVertical = new ComplexTransitionV({
size: { height: 200 },
position: { x: 100, y: 350 },
attrs: {
text: { text: 'Some text' },
'.rotatable': { title:'Синхронизатор/разветвитель (Complex Transition)' } }
});
var history = new History({