recipeOneListAnnotatedWithCode = createShape2({
code: textBlockString2({contents:
`createShape({
$ingredients$: (contents) => M.text({
contents,
fontSize: '18px',
}),
$cookware$: (contents) => M.text({
contents,
fontSize: '18px',
}),
stepsTitle: M.text({
contents: 'Steps',
fontSize: '18px',
fontWeight: 'bold',
}),
$steps$: (contents) => M.text({
contents,
fontSize: '18px',
}),
},{
'ingredients->cookware': [
C.hSpace(15), C.alignTop
],
'ingredients->stepsTitle': [
C.vSpace(15), C.alignLeft
],
'stepsTitle->steps': [
C.alignLeft, C.vSpace(0)
],
})`,
fontSize: '18px', fontFamily: 'Fira Code'}),
boxI: M.rect({ fill: 'none', stroke: 'magenta', }),
boxC: M.rect({ fill: 'none', stroke: 'magenta', }),
boxS: M.rect({ fill: 'none', stroke: 'magenta', }),
boxST: M.rect({ fill: 'none', stroke: 'magenta', }),
alignLeft: M.line({ stroke: 'cornflowerblue', strokeWidth: 5, strokeDasharray: "4"}),
alignTop: M.line({ stroke: 'cornflowerblue', strokeWidth: 5, strokeDasharray: "4"}),
vSpace1: vSpaceGuide,
vSpace2: vSpaceGuide,
hSpace: hSpaceGuide,
$ingredients$: (contents) => textBlockString2({contents,
fontSize: '18px'}),
$cookware$: (contents) => textBlockString2({contents, fontSize: '18px'}),
stepsTitle: M.text({ contents: 'Steps', fontSize: '18px', fontWeight: 'bold', }),
$steps$: createShape2({
$elements$: (contents) => textBlockString2({contents, fontSize: '18px'}),
$neighbors$: createShape2({
$curr$: 'ref',
$next$: 'ref',
},{
'curr->next': [C.alignLeft, C.vSpace(5)],
}),
})
},{
'code->ingredients': [C.hSpace(5), C.alignTop],
'boxI->ingredients': [...C.containsShrinkWrap],
'boxC->cookware': [...C.containsShrinkWrap],
'boxS->steps': [...C.containsShrinkWrap],
'boxST->stepsTitle': [...C.containsShrinkWrap],
'ingredients->vSpace1': [C.vSpace(1), C.alignLeftSpace(30)],
'vSpace1->stepsTitle': [C.vSpace(1)],
'stepsTitle->vSpace2': [C.vSpace(1), C.alignLeftSpace(30)],
'vSpace2->steps': [C.vSpace(1)],
'ingredients->hSpace': [C.hSpace(1), C.alignTopSpace(-30)],
'hSpace->cookware': [C.hSpace(1)],
'alignLeft->ingredients': [C.alignLeft, C.alignTop],
'alignLeft->steps': [C.alignLeft, C.alignBottom],
'alignTop->ingredients': [C.alignLeft, C.alignTop],
'alignTop->cookware': [C.alignRight, C.alignTop],
'ingredients->cookware': [C.hSpace(15), C.alignTop],
'ingredients->stepsTitle': [C.vSpace(15), C.alignLeft],
'stepsTitle->steps': [C.alignLeft, C.vSpace(7.5)],
})