Simple text processing tips and tricks with file I/O, string patterns, and directed graphs
Steve Eddins
on 5 May 2025
I wanted to turn a Markdown nested list of text labels:
- A
- B
- C
- D
- G
- H
- E
- F
- Q
into a directed graph, like this:

Here is my blog post with some related tips for doing this, including text I/O, text processing with patterns, and directed graph operations and visualization.