Basically, you just add a CUMLEditor member object to either your view class or the class of the main dialog of your app.
WEB UML EDITOR CODE
HTML and code generation is built in, so you get it "for free", together with export to EMF (enhanced metafiles). It can be used in dialog-applications, and SDI- and MDI-applications. The editor can be used in your own app, the same way as CDiagramEditor or CFlowchartEditor. CUMLEditor itself is an example of an advanced override of CDiagramEditor. The editor can be configured by setting colors, grid etc., and also derived from for more advanced overrides.
The editor framework has the features of the parent project, CDiagramEditor, that is, unlimited zoom, undo, copying and pasting between MDI-windows, support for print and print preview, and much more. You can import class definitions from header-files. The diagrams can be loaded and saved, of course, but also exported to DHTML (not as pictures, but rather "pure" DHTML), C++-code (only the skeleton, of course), and EMF (enhanced metafiles, that can be included in - for example - Word).
The connections can have the normal UML-styles, inheritance, dependency etc., although aggregation is not supported. The editor contains drawing objects for classes, interfaces, packages, notes, lines, and labels.Ĭlasses, interfaces, packages, and notes can be connected with multi-segment lines, with unlimited connection points on the objects. UML will have to be learned elsewhere, why not on CodeProject? See the Links section at the end of this article! UMLEditor As a matter of fact, parts of the UMLEditor itself is generated by the UMLEditor. It allows creation and editing of static diagrams, and can generate C++-code and HTML-pages from the diagrams. The UMLEditor package is, perhaps not surprisingly, a UML-editor.
WEB UML EDITOR DOWNLOAD