@startuml
!include <material/history>

left to right direction
skinparam defaultTextAlignment center

rectangle "<$ma_history>\nRetain" as block #DeepSkyBlue

interface " " as q1
interface " " as q2
interface " " as q3

q1 --> block: input
block --> q2: previous
block --> q3: current
@enduml
