import {svg} from 'lit'; export function rect( id: string, data: { width: number; height: number; strokeWidth: number; strokeColor: string; fillColor: string; borderRadius: number; strokePosition: 'inside' | 'outside'; y?: number; } ) { const yPosition = data.y !== undefined ? data.y : -data.height / 2; if (data.strokePosition === 'inside') { return svg` `; } else { return null; } }