Module string

Source
Expand description

A small module to read graphs from ascii art.

See from_ascii for a detailed explanation.

Warning: the main purpose of this module is its use in documentation comments and examples. It is not meant for production use.

Structs§

Data
The data returned by from_ascii.

Enums§

Error
Error reading an ascii-art graph.

Functions§

from_ascii
Create a graph from ASCII art drawing with edge weights.