openchemlib-utils
    Preparing search index...

    Function getShortestPaths

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

      Parameters

      • molecule: Molecule
      • Optionaloptions: object = {}

      Returns any[][]

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