graph: use text-achor for positioning