Skip to content

Component Dependency Matrix

intrigus edited this page Jun 26, 2019 · 14 revisions

What it does

Generates an html report describing the relationship between systems, managers and components.

Currently not compatible with the Fluid Entity API.

Example

Shaman's Weirding Game: Component Dependency Matrix

Usage

As a maven plugin

<build>
    <plugins>
        <plugin>
            <groupId>net.onedaybeard.artemis</groupId>
            <artifactId>artemis-odb-maven-plugin</artifactId>
            <version>${artemis.odb.version}</version>
            <executions>
                <execution>
                    <goals>
                        <goal>matrix</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

From the command line

$ java -jar artemis-odb-cli-0.8.0.jar matrix \
    -l "Naturally Selected 2D" \
    -c ~/opt/dev/git/naturally-selected-2d/core/build/classes/ \
    -o ~/opt/dev/git/junkdog.github.io/matrix-ns2d.html 

Clone this wiki locally