networkx graph changes
get sorted tables data metadata
create database graph using metadata and create query using graph
return header and and show query on ui
add header and query in ui