MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / wrappedLines

Function wrappedLines

ui/src/lib/flow-model.ts:102–104  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

100const END_CAP_CHARS = 32;
101
102function wrappedLines(text: string): number {
103 return Math.max(1, Math.ceil(text.length / END_CAP_CHARS));
104}
105
106/** One dispatch site as the cap words it. */
107export interface EndCapSite {

Callers 1

endCapHeightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected