added destroy.js.erb for responding to synapse destruction. Also select edges by default on creation in create.js.erb
This commit is contained in:
parent
4e7c7f5d1b
commit
c739f58b4b
2 changed files with 3 additions and 2 deletions
|
@ -28,8 +28,9 @@ if ( Mconsole != null) {
|
|||
});
|
||||
temp.data.$direction = d;
|
||||
Mconsole.fx.plotLine(temp, Mconsole.canvas);
|
||||
selectEdge(temp);
|
||||
Mconsole.fx.animate({
|
||||
modes: ['edge-property:lineWidth'],
|
||||
modes: ['edge-property:lineWidth:color'],
|
||||
duration: 400
|
||||
});
|
||||
}
|
||||
|
|
0
app/views/synapses/destroy.js.erb
Normal file
0
app/views/synapses/destroy.js.erb
Normal file
Loading…
Reference in a new issue