constructor param icon icon param str todo defin constructor take diagram set fig profil icon imag icon str imag fig imag icon label fig singl line text imag height gap label set text str label calc bound add fig imag add fig label imag set resiz imag set lock 