integrated netowrkx Graph making to calculate node properties