def draw_calls(record: record_schema.Record, index: int) -> None:
    """
    Draw the calls recorded in a `record`.
    """

    calls = record.calls

    app_step = 0

    for call in calls:
        app_step += 1

        if app_step != index:
            continue

        draw_call(call)

    Draw the calls recorded in a `record`.
    
src/dashboard/trulens/dashboard/ux/components.py