Function getShortestPaths

  • Get the shortest path between each pair of atoms in the molecule

    Parameters

    • molecule: Molecule
    • Optional options: object = {}

    Returns any[][]

    A matrix containing on each cell (i,j) the shortest path from atom i to atom j