from jhplot import *

http="http://datamelt.org/examples/data/"
print Web.get(http+"sample1_medusa.dat")

c=HMedusa()
c.loadFile("sample1_medusa.dat")
gg=c.getGraph()
c.visible()    # show the graph 

from medusa.georgios.Layouts import Layouts 
Layouts.Apply_MCL_Propagation_Clustering(gg,c.getPanel())
# Layouts.Apply_Affinity_Propagation_Clustering(gg,c.getPanel())
# Layouts.Apply_Predefined_Clustering(gg,c.getPanel())
c.update()
