Logo
NeoArc Studio

Styling Reference

Complete reference for diagram styling including colours, borders, fonts, opacity, and theming options.

The diagram editor provides complete styling options for shapes, connections, and text. Consistent styling improves diagram readability and visual communication.

Shape Styling

Shape styling properties
PropertyTypeDescription
fillColorhexBackground colour
borderColorhexBorder colour
borderWidthnumberBorder thickness in pixels
borderStyleenumSolid, dashed, or dotted
borderRadiusnumberCorner rounding for rectangles
opacitynumberTransparency (0 to 1)
shadowbooleanDrop shadow effect

Text Styling

Text styling properties
PropertyTypeDescription
textColorhexText colour
fontSizenumberText size in pixels
fontWeightenumNormal or bold
fontFamilystringFont family
textAlignenumLeft, centre, or right
verticalAlignenumTop, middle, or bottom

Connection Styling

Connection styling properties
PropertyTypeDescription
strokeColorhexLine colour
strokeWidthnumberLine thickness in pixels
lineStyleenumSolid, dashed, or dotted
cornerStyleenumSharp or rounded corners
cornerRadiusnumberCorner radius for rounded style

Colour by Domain

Use consistent colours to indicate domains or categories.

Suggested colour conventions
DomainColour Suggestion
Data and storageBlue tones
Services and APIsGreen tones
User interfacesOrange tones
Security and identityPurple tones
InfrastructureGrey tones

Theme Support

Bulk Styling