add tracking for graph