MCPcopy Index your code
hub / github.com/simstudioai/sim / prst

Function prst

apps/sim/lib/pptx-renderer/renderer/group-renderer.ts:88–88  ·  view source on GitHub ↗
(c: (typeof node.children)[0])

Source from the content-addressed store, hash-verified

86 let pieCommon: { x: number; y: number; w: number; h: number } | null = null
87 if (node.children.length === 6 && chExt.w > 0 && chExt.h > 0) {
88 const prst = (c: (typeof node.children)[0]) => c.child('spPr').child('prstGeom').attr('prst')
89 const firstPie = node.children.slice(0, 3).every((c) => prst(c) === 'pie')
90 const nextArrow = node.children.slice(3, 6).every((c) => prst(c) === 'circularArrow')
91 if (firstPie && nextArrow) {

Callers 1

renderGroupFunction · 0.85

Calls 2

attrMethod · 0.80
childMethod · 0.80

Tested by

no test coverage detected