import cytoscape.viewer as cy, json import graphlab as gl sf = gl.SFrame({'id':['A','B','C','A','B','A'],'value':[1,10,20,30,40,50]}) sf.show() # Load network file generated in Cytoscape 3.1.x yeast_network_file = open('yeast2.cyjs') yeast_network = json.load(yeast_network_file) visual_style_file = open('style.json') vs_collection = json.load(visual_style_file) styles = {} for style in vs_collection: style_settings = style['style'] title = style['title'] styles[title] = style_settings cy.render(yeast_network, styles['default'], 'preset', 500) cy.render(yeast_network, styles['Directed'])