lonely-lockley / archinsight

Simplicity in Code, Power in Design
https://archinsight.org
GNU Affero General Public License v3.0
51 stars 5 forks source link

Implement technology icons inline into dot markup #42

Open lonely-lockley opened 1 year ago

lonely-lockley commented 1 year ago

Renderer service has an integrated icons pack for languages, technologies and frameworks. For Block elements only implement a dictionary with synonyms pointing to a specific svg icon. On a translation stage add a parser for technology parameter value that will be checked against icons dictionary. A dictionary must support fuzziness. If a match happened, add dot image tag with a local path to svg icon. Prepare icons in a set - they all must have the same size and white versions for better display at dark backgrounds. Icon must be located between name and technology text lines in edge label table.