I need to give each edge a weight and i have to set each edge color depends on it's weight .
I think the best way would be by setting the style of the EdgeControl , but i'm making something wrong . plz help !
Or at least if there is a way to do it by code ..
but it's not working for me !
Any help will be appreciated