Set node size according to the degree

Hi, how can i set a node size according to his degree while using Dash Cytoscape ?