change field name flag to flagstate
Cluster visuzalization work in progress