Sculptor


I have improved the visualization with several new features. You can use this new diagram generator right away as described in the end.

Several diagrams with different focus and level of detail are generated. Below are samples of the different types of diagrams. You can click on the images below to see them in full scale.

Module dependencies:

Overview:

One separate diagram for each module:

Diagram with focus on elements marked as core domain (hint="umlgraph=core"). Note that core domain objects also have another font color (and background color) in all diagrams.

And finally, a diagram with full detail of all objects.

All colors can be configured using the sculptor-generator.properties file and it is also possible to set the color for individual elements using a hint in model file (hint="umlgraph.bgcolor=FFCC99"). It is also possible to hide elements using hint="umlgraph=hide".

To create images (png) from the generated Graphviz dot files you can use the goal generate-images of Sculptors maven plugin. Add the following to your pom.xml:

<build>
	<plugins>
		<plugin>
			<groupId>org.sculptorgenerator</groupId>
			<artifactId>sculptor-maven-plugin</artifactId>
			<version>3.0.0</version>
			<executions>
				<execution>
					<id>image-generation</id>
					<goals>
						<goal>generate-images</goal>
					</goals>
				</execution>
			</executions>
		</plugin>
	</plugins>
</build>

You also need to install the excellent Graphviz tool.



Fork me on GitHub