I want to write text above a widget which have parameter paint which takes Paint(). This widget draws edges between graph nodes and it does not take any parameter as TextPaint()