# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
g = new ('graphNEL', edgemode='directed')
g = initEdgeAttribute (g, 'edgeType', 'char', 'associates with')
Run the code above in your browser using DataLab