[qt-board] add class GraphComponent