first tries on adding MORE shapes to represent true gost fsa
This commit is contained in:
parent
f2a72d5155
commit
392aebe0df
15 changed files with 577 additions and 79 deletions
|
|
@ -17,7 +17,7 @@ function PalettePlugin (create: Create,
|
|||
title: 'Hand Tool',
|
||||
action: {
|
||||
click: function() {
|
||||
console.log("Hello");
|
||||
//console.log("Hello");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -52,9 +52,26 @@ function PalettePlugin (create: Create,
|
|||
}
|
||||
}
|
||||
},
|
||||
'create-device': {
|
||||
group: 'create',
|
||||
className: 'icon-create-shape',
|
||||
title: 'Create Device',
|
||||
action: {
|
||||
click: function() {
|
||||
var shape = elementFactory.createShape({
|
||||
width: 100,
|
||||
height: 80,
|
||||
canStartConnection:true,
|
||||
type: 'custom:circle'
|
||||
});
|
||||
console.log(shape.canStartConnection);
|
||||
create.start(event, shape);
|
||||
}
|
||||
}
|
||||
},
|
||||
'create-connection': {
|
||||
group: 'create',
|
||||
className: 'connection-create-shape',
|
||||
className: 'icon-connect',
|
||||
title: 'Create Connection',
|
||||
action: {
|
||||
click: (event) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue