MCPcopy Create free account
hub / github.com/benjitaylor/agentation / formatAlignment

Function formatAlignment

package/src/components/design-mode/spatial.ts:306–313  ·  view source on GitHub ↗

* Format alignment as human-readable text.

(alignment: SpatialContext["alignment"])

Source from the content-addressed store, hash-verified

304 * Format alignment as human-readable text.
305 */
306function formatAlignment(alignment: SpatialContext["alignment"]): string {
307 switch (alignment) {
308 case "full-width": return "full-width";
309 case "center": return "centered";
310 case "left": return "left-aligned";
311 case "right": return "right-aligned";
312 }
313}
314
315/**
316 * Format a SpatialContext into human-readable description lines.

Callers 2

formatSpatialLinesFunction · 0.85
formatPositionSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…