starting angular frontend, writing clustered grapht to text file