lmika / goseq

A command line tool to generate sequence diagrams
https://goseq.lmika.dev
MIT License
205 stars 26 forks source link

Provide list of icons in README.md file #18

Closed blazejkrzak closed 2 years ago

blazejkrzak commented 2 years ago

Problem: Lack of list of available icons Proposition Please provide list of icon="$value" in order to ease the work. Or just point to the file, I was searching like 10 mins and found nothing yet. Gain: It will increase user experience with this library

Icons I have found

var builtinIcons = map[string]ActorIcon{
        "human":    &builtinActorIcon{graphbox.StickPersonIcon(1)},
        "cylinder": &builtinActorIcon{graphbox.CylinderIcon(1)},
        "cloud":    &builtinActorIcon{graphbox.PathIcon{graphbox.CloudPathData}},
}
lmika commented 2 years ago

Hi @blazejkrzak, the list of supported icons are actually in the Style Attribute reference. I'll see what I can do about making that document more visible from the README.md.

lmika commented 2 years ago

Link to the Style Attribute reference has been added to README.md.