dynamic graph with direct terms