https://en.m.wikipedia.org/wiki/Dia_(software)
and if you need json, plenty of xml to json convertors knocking around.
Reply on news.ycombinator.com