@classmethod
def from_supplier(cls, supplier, ring_cutoff=10, progress=False, annotate=
    True, **kwargs):
    """Construct a scaffoldgraph from a custom Mol supplier

        Parameters
        ----------
        supplier (iterable): A custom supplier of rdkit molecules, it is expected that each molecule
            will be assigned a property '_Name' serving as an identifier for that molecule. To use
            the progress option the supplier must have an associated length.
        ring_cutoff (int): ignore molecules with more rings than this cutoff (default: 10)
        progress (bool): if True show a progress bar to monitor construction progress (default: False)
        annotate: if True write an annotated murcko scaffold SMILES string to each
            molecule edge (molecule --> scaffold)
        kwargs: arguments to pass to the scaffoldgraph __init__
        """
    instance = cls(**kwargs)
    instance._construct(supplier, ring_cutoff=ring_cutoff, progress=
        progress, annotate=annotate)
    return instance
