Only draw lines between nodes if their value in the probability matrix isn't equal to zero. In other words, only draw lines between nodes that can exchange shares.