move win.resize to end
move win.resize to end

this will allow it to be called later with an argument pertaining to the
div in which cytoscape is drawn

pvtodorov/pathway_map_dynamic,pvtodorov/pathway_map_dynamic