add weighted graph