Skip to content

Commit

Permalink
Comments and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Drock54651 committed Aug 7, 2024
1 parent 0069f40 commit 7159346
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions SBOLCanvasFrontend/src/app/graph.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ export class GraphService extends GraphHelpers {
*/
copy(){
mx.mxClipboard.copy(this.graph, this.graph.getSelectionCells())
console.log(this.graph.getSelectionCell())
}

// Map old cells to newly created cells in the paste method
Expand Down Expand Up @@ -1387,14 +1386,9 @@ export class GraphService extends GraphHelpers {
element.refreshCircuitContainer(this.graph);

// Doesn't remember cell specific properties like if they were connectable
// Might be a way to set this in the xml? This if fine for one property though
// since it's being converted from SBOL to mxGraph XML
element.setConnectable(false)
for(let child of element.children){
if(child.isBackbone()){
child.setConnectable(false)
break;
}
}
element.getBackbone().setConnectable(false)
}
});
}
Expand Down

0 comments on commit 7159346

Please sign in to comment.