added function to get PropertyGraphNetwork.