graph-toolkit
    Preparing search index...

    Function toBinary

    • Compact binary encoding: a 4-byte signature, a flag byte, varint counts, UTF-8 vertex names and one source, target, weight record per edge (a weight of 1 costs a single byte). Vertex order and edge order are kept; attributes are not stored.

      Parameters

      Returns Uint8Array