@@ -59,6 +59,43 @@ some post-processing to further compact it.
5959 - Sometimes the downscaling results in a box with uneven spacing, e.g. a rectangle with
6060width 5 and the label is 2 chars. Due to discrete coordinate space in ASCII renders, some
6161outputs may look less even than their SVG counterparts.
62+ - Certain things just can't render
63+ - Special text, e.g. Markdown, Latex, Code
64+ - Images and icons
65+ - UML classes and SQL tables
66+ - Right now these aren't special-handled -- whether removing them from the diagram or
67+ using some placeholder is the right choice is tbd.
68+ - Not all shapes are supported
69+ - Here's what all the shapes render as in ASCII. Some of these, like cloud and circle,
70+ have curves that don't translate well to ASCII. We render these as a rectangle and add
71+ a little icon for what it's supposed to represent in the top-left. These are subject to
72+ change. For now we recommend rendering without custom shapes.
73+
74+ ``` txt
75+ ┌────────┐ ***
76+ ╱‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾╱ ╱‾‾‾‾‾‾‾‾‾╱╲ │callout │ **** **** ╱‾‾‾‾‾‾‾‾‾╲
77+ ┌──────────┐ ╱ ╱ │ │ │ └────────┘ *** diamond *** ╱ ╲
78+ │rectangle │ ╱ parallelogram ╱ │ queue │ │ │ ╱ **** **** ╲ hexagon ╱
79+ │ │ ╱_______________╱ ╲________ ╲╱ │╱ ***** ╲_________╱
80+ └──────────┘
81+ │ │ │ │ │ │
82+ ▼ ▼ ▼ ▼ │ ▼
83+ ┌─────────┐ ┌──────────┐ ┌────┐ ╱‾‾‾‾‾‾‾‾‾‾‾╱ ▼ ┌☁─────────┐
84+ │ │ │ document │ │ └────┐ ╱ ╱ ┌⬭────────┐ │ │
85+ │ square │ │ .-`-.│ │ package │ │ stored_data │ oval │ │ cloud │
86+ │ │ `-.-` └─────────┘ ╲ ╲ │ │ │ │
87+ │ │ ╲___________╲ └─────────┘ │ │
88+ └─────────┘ │ │ │ │ └──────────┘
89+ │ │ │ │ │
90+ ▼ ▼ ▼ ▼ │
91+ ┌─────┐ .-‾‾‾‾-. ╲‾‾‾‾‾‾‾ ╲ ╱‾‾╲ ▼
92+ │ ╲┐ │╲-____-╱│ ╲ ╲ ╲__╱ ┌⬭────────┐
93+ │ page │ │ │ ╲ ╲ ╱‾‾‾‾╲ │ │
94+ │ │ │ │ ╱ step ╱ ‾‾‾‾‾‾ │ circle │
95+ └──────┘ │cylinder│ ╱ ╱ person │ │
96+ │ │ ╱_______ ╱ │ │
97+ ╲-____-╱ └─────────┘
98+ ```
6299
63100## Try it yourself
64101
0 commit comments