# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setDefaultNodeBorderWidth.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
setDefaultNodeBorderWidth (cw, 5)
# redraw (cw) --> not required anymore
Run the code above in your browser using DataLab