addVertex

fun addVertex(data: T): T