parse_arcs#

parse_arcs(arcs: str)#

Parse a string of arcs separated by commas and return a list of parsed arcs.

Parameters:

arcs – String representing multiple arcs (e.g., “a6b6, a9u8”).

Returns:

List of tuples, each representing a parsed arc.

Raises:

ValueError – If any arc is not in the correct format.