first working piece of code for network graph  with master branch and another branch