graph-model as separate component