Is there any IDE that allows you to draw flowcharts and generate the LaTeX codes? I've searched on google but came accross TikZ which is only a library? Is there any IDE support?
There are many links to various tools working with tikz at texample resources web-page sections (Tools for working with TikZ code, Tools that generate PGF/TikZ code). You can write everything in pure Tikz with editor or use some external program, to convert vector drawing into Tikz code. It's your choise.