Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to be able to create UML diagrams from source code - and I found UMMF - UML Meta-Model Framework. However, I could not find any tutorial to get me started on creating a diagram with two classes and a simple relationship between them.
Basically what I am trying to achieve for now, is to create a simple two tables diagram in a relation of 1..n:
The XMI output for this diagram, is pretty verbose, because I created the diagram with Enterprise Architect - you can find this XMI file here (I could not embed the text here because is too big)
I want to use UMMF because it creates XMI files, based on perl object hierarchies that are related to OMG UML standards and those files can be imported in any modelling tool that implement those standard.
So the question is, how can I create this diagram using UMMF? - it is not necessary to be that complex.
I need the diagram to have:
two tables
at least one table to have:
one field as primary key
one indexed field
one regular field (not indexed)
a relation between the two tables
Also if you know of the existence of any good Perl UMMF tutorials, please show us their links
UML::Class::Simple can create XMI files from source code. That may be a good starting point.
You can use UMMF to programmatically create UML models from Perl and export them to XMI. However, UMMF only supports UML 1.5 -- a standard graphical diagram meta-model didn't exist until UML 2.0 AFAIK.
You might want to look at Graphvis: http://www.graphviz.org/
I've done some basic stuff to create UML-like diagrams with it. It has some basic support for record-oriented diagrams.
Someone could probably write a XMI->Graphvis transformer using UMMF. :)
BTW: I'm the author of UMMF.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I currently writing a Scala REST API with Akka Http.
This REST API should provide informations about a 3D Model.
The format is x3d. I am now looking for a library which converts the plain xml file into a scala data-structure to work with. I would like avoid writing this data-structure myself.
I have done some research and I was only able to find libraries which support also rendering but I only want the data-structure since this will be rendered on a unity client.
Thanks in advance
Alex
X3DJSAIL is the X3D Java Scene Access Interface Library, which supports programmers with standards-based X3D Java interfaces and objects, all as open source.
http://www.web3d.org/specifications/java/X3DJSAIL.html
X3DJSAIL is a Plain Old Java Object (POJO) implementation for X3D. No rendering is included, while multiple import/export converters for different X3D output encodings are provided (VRML97 ClassicVRML XML JSON and java source). X3DJSAIL provides full coverage of the X3D Graphics International Standard. It is primarily autogenerated source code, based on the X3D XML Schema and the emerging X3D Unified Object Model (X3DUOM).
Goals include making it easy to create an X3D scene graph using Java, while also making it hard to create an incorrect or invalid X3D model.
X3DJSAIL development discussions primarily occur on the x3d-public#web3D.org mailing list.
http://www.web3d.org/community/public-mailing-lists
http://www.web3d.org/mailman/listinfo/x3d-public_web3d.org
Similar developments are occurring for JavaScript, C/C++/C# and Python bindings for X3D. Further discussion with respect to Scala is welcome.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
Is there a way to generate UML Class diagram for swift programming language? I found that the Mac A&D tool claims to be able to scan the swift code and create a class diagram. And there is a video to introduce it.
https://wn.com/swift_code_to_class_diagram
Unfortunately, it is not free. I wonder if there is another free tool to generate class diagram automatically. Could you guys help me? Thanks in advance.
UML class diagrams for Xcode (swift programming)
I recently found a free tool, that gets you a decent start on this.
Take a look at this tutorial https://martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/
and here is the github repo https://github.com/yoshimkd/swift-auto-diagram.
I found its best if you open the diagram.html in chrome vs firefox. And if you see the little circles, just let it run until its finished. It takes a few minutes on my project.
There are a number of free and open-source tools but those often require the user to manually install additional dependencies (e.g. NodeJS, Graphviz or Python). Some of the projects are no longer maintained and are limited when it comes to functionality. And none of these tools were written in Swift.
So I started to work on such utility myself.
Xcode extension: https://github.com/MarcoEidinger/SwiftPlantUML-Xcode-Extension
You are able to generate a class diagram from selected lines of code or from a whole file displayed in Xcode. The class diagram will then be opened in your browser. There you can modify the diagram with PlantUML notation
To generate a class diagram from multiple source files you can use the underlying CLI tool and Swift Package: https://github.com/MarcoEidinger/SwiftPlantUML
There is a size limitation to the visible diagram content (but you can delete content in the browser with PlantUML notation)
I found a tool that works quite well for swift projects: https://swiftalyzer.com
It's free but time limited.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
CSDL includes elements Documentation/Summary and Documentation/LongDescription that, according to MSDN, can be used to document entities. The contents of these elements conveniently appear in the properties window of the entity design surface, so it is easy to jot a few notes in these fields as you're working with entities.
Since the EDMX file is XML, it would be easy to write an XSLT stylesheet to pull documentation from these elements. Is there a standard tool for doing this? Are there any other advantages to using the CSDL documentation fields? Is anyone using these fields, and if so, have you found them to be an effective way to document your entities?
The documentation data stored in the CSDL is emitted as XML doc comments in the generated code. As a result, it will appear in the intellisense tooltips in Visual Studio automagically:
If you want to use it for more formal documentation you can use SandCastle (optionally together with the excellent frontend SHFB), or some other Xml DocComment extraction tool to build windows help files or help websites containing the documentation.
If your database is documented using the documentation attributes in SQL Server, you can extract that documentation from the database and populate the SSDL and CSDL comments using this tool: http://huagati.com/edmxtools/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We are building a website that contains a large number of database tables that need to be edited by the CMS administrator.
Some of the tables are fed by form submissions from users on the front end of the website.
Some of the tables are purely in the CMS and are used to create custom modules on the front end of the website.
Although there is a forms module in Drupal, I think our requirements cannot be met by it.
Does anyone know of a system that allows forms to be saved to a CRUD style database with the following features?
(source: yart.com.au)
Export of all database fields.
View a summary of the records in a filterable table.
With paging
You can have one to many relationships in records eg
(source: yart.com.au)
To code this manually for 10 forms is A LOT of work. Particularly the one to many relationships. If there is a powerful module available it would save us writing one.
I have not used it at all so far, so I have no clue if it fits your needs, but the Auto Admin module seems to offer at least some of the features you are looking for.
You should look at CCK and check that doesn't meet your requirements before building something bespoke. All of your requirements can be met with a combination of CCK, Views, and a bit of tweaking.
This CRUD operations can be achieved using Drupal 7 modules like data,schema,entity,views and ctools.
Nice article is here: http://subhojit777.in/crud-data-table-in-drupal/
In-place editing for Fields is also possible using quickedit module,but Backbone.js,Underscore.js libraries are required and your Theme should support.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
When I generate a Class Diagram using VS2008, say for a C# file XYZ.cs - I get a Class Diagram detailing all the Fields,Properties,Methods and Nested Types.
Is there a tool/utility, which will do the same for all the internal Class/Interface references I have used within this file.
For eg. I have a Property of the type ABC in XYZ.cs ...is there any way to get to show ABC and related reference on the class diagram of XYZ itself?
To be more precise: If my XYZ.cs has a property Biped of the type Mammal. The class diagram displays and lists Biped...what I would like to see is Mammal also listed as a hierarchical node in the diagram itself.
To put it simply the complete object tree for all types...for atleast the user defined types.
Right click the property and choose "Show as Association"
Repeat for all properties with different classes
Altova UModel or Enterprise Architect. Both applications can reverse-engineer C# and Java code into UML diagrams, including class diagrams. To do this, they analyse the sourcecode or assemblies of your project.
I have used both but prefer UModel because it has less functionality. !!! EA is just overkill since it has a lot of other functionality related to project management, bug tracking and a lot more. Unfortunately, EA doesn't always allow you to undo certain actions. With UModel, you can always undo your mistakes and the user interface is more user-friendly, in my opinion.