Omnigraffle Classes Diagram to code
code-generation, uml, wysiwyg
Solution
I don't think you'll manage this. Special computer-aided software engineering tools like Rational Rose will allow you to do this but OmniGraffle is really just a graphics tool. It can read various formats (like DOT) but that's about as far as it goes.
One reason for this is that proper CASE tools don't just do graphics, but also represent and enforce semantic constraints on the structures you can create. Enforcement is important if your diagram is going to create real, meaningful code. Omnigraffle doesn't really care what you type in text fields, or what you connect to what.
Also, UML is for object orientation, like C++, Java, C#. If you created a class in Rational Rose, it would be obvious that it should create a class in C++/Java/C#.
It's not suitable for C in any case, as OO isn't a feature of the language. How would you expect it to represent a class? Lots of extra boilerplate template code would be required.
Problem
I make my UML class diagrams with OmniGraffle Pro tool, but I would like to make C like code from it's diagram automatically. Maybe anyone know how I can make this? Thanks.