pub fn with_size(n: usize) -> Graph {
        let atoms = vec![0usize; n];
        let bonds: Matrix<u8> = Matrix::new(n);
        let edge_possible: Matrix<bool> = Matrix::fill_new(n, true);

        Graph {
            n,
            atoms,
            bonds,
            edge_possible,
        }
    }
/// Creates an empty graph with the specified size.
Creates an empty graph with the specified size.
Creates an empty graph with the specified size .
pub fn with_size(n: usize) -> Graph {
        let atoms = vec![0usize; n];
        let bonds: Matrix<u8> = Matrix::new(n);
        let edge_possible: Matrix<bool> = Matrix::fill_new(n, true);
        Graph {
            n,
            atoms,
            bonds,
            edge_possible,
        }
    }
pub fn with_size ( n : usize ) -> Graph { let atoms = vec ! [ 0usize n ] ; let bonds : Matrix < u8 > = Matrix :: new ( n ) ; let edge_possible : Matrix < bool > = Matrix :: fill_new ( n , true ) ; Graph { n , atoms , bonds , edge_possible , } }
Creates an empty graph with the specified size.
Creates an empty graph with the specified size .
n
usize