### End position of recursion

Posted:

**Sun Nov 25, 2018 11:59 am**Hey guys,

I'm new to CFA and i have a question: Can i figure out the end position of a recursion? I mean:

If i have the following:
and i want to add a circle at the top of the stack.. how can i get the position of it?

Is there a way? Since the stack/path alsways ends somewhere different, i cannot simply draw the circle at a static position...

Thank you

I'm new to CFA and i have a question: Can i figure out the end position of a recursion? I mean:

If i have the following:

Code: Select all

```
startshape START
rule START{
REC {y -1}
}
rule REC {
SQUARE {s 0.05}
REC{y 0.06 s 0.965 x -0.1}
}
rule REC {
SQUARE {s 0.05}
REC{y 0.06 s 0.965 x 0.1}
}
```

Is there a way? Since the stack/path alsways ends somewhere different, i cannot simply draw the circle at a static position...

Thank you