Controlled Text Generation for Large Language Model with Dynamic Attribute Graphs