def graph6data(str):
    v = [ord(c)-63 for c in str]
    if min(v) < 0 or max(v) > 63:
        return None
    return v
Convert graph6 character sequence to 6-bit integers.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/readwrite/sparsegraph6.py/graph6data