Module rs_graph::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

  • The data returned by from_ascii.

Enums

  • Error reading an ascii-art graph.

Functions

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