WPS / egon.io

A tool to visualize Domain Stories in your browser
http://domainstorytelling.org
723 stars 101 forks source link

Can not set color for text annotation #138

Open superbull opened 6 months ago

superbull commented 6 months ago

Describe the bug In the Figure 2.12 of the book "Domain Storytelling", it seems text annotation can be colored. But in v1.5.0, there is no way to change the color of a text annotation.

Figure 2.12 in the book: image

Using v1.5.0 of egon.io: image

hofstef commented 5 months ago

Hi, you're right. Some diagrams in the book were altered in the production process of the book, e.g. to improve printability.

I'll add this as a feature request. However, the stroke of text labels is thinner than the stroke of icons. That means some bright colors might work for icons, but become difficult to read when applied to annotations.