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:
Devin Howard 2013-01-05 22:39:35 -05:00
parent 4e7c7f5d1b
commit c739f58b4b
2 changed files with 3 additions and 2 deletions

View file

@ -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
});
}

View file