knot_diagram parse_knot (const char *s);