kotlin-multiplatform-graphics-modifiers
Installation
SKILL.md
When to Use This Skill
Use this skill when you need to:
- Build a workflow node, graph editor, or draggable surface in Compose
- Decide between
graphicsLayer,Canvas,drawBehind, anddrawWithCache - Add transforms, clipping, elevation, alpha, or rotation without redrawing layout
- Improve performance for repeated drawing objects like paths, brushes, and shaders
Recommended default: use Modifier.graphicsLayer for the node shell and Canvas
or drawWithCache for the graph drawing itself.
Trigger keywords: graphicsLayer, Canvas, drawBehind, drawWithCache, custom drawing, workflow node, node editor, graph editor, drag transform, layer effects, elevation.
Freshness rule: Compose graphics and drawing APIs change with each CMP release — recheck the Compose developer docs before upgrading or copying snippets.