graph-toolkit
    Preparing search index...

    Function toDimacs

    • DIMACS: p edge n m with e u v [w] lines (undirected) or p sp n m with a u v w lines (directed). Vertices are numbered from 1 in insertion order, so names are not kept.

      Parameters

      Returns string