There are quite a few drawing languages that integrate with tex.
As pointed out in a comment, Dia, at least on linux, can reset the metapost code that can be processed and inserted into your tex document.
(jpg, png, pdf, eps) . , , .
, ( ), :
PGF,
TIKZ,
MetaPost
TIKZ PGF , texample.net
graphviz , , dot2tex, graphviz , .