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