Graphical Customization

Color Customization

You can change the colors of different elements of graphical reports :

  • RemoteObject color.
  • MXML Components color.
  • Actionscript Classes color.
  • Actionscript Interfaces color.

    As an example, here is a flashy configuration :

    <plugin>
            <groupId>net.sf.flex-mvn-report</groupId>
            <artifactId>flex-mvn-report</artifactId>
            <version>0.1-SNAPSHOT</version>         
            <configuration>
                    <remoteObjectColor>lawngreen</remoteObjectColor>
                    <mxmlComponentColor>magenta</mxmlComponentColor>
                    <classFillColor>cyan</classFillColor>
                    <interfaceFillColor>yellow</interfaceFillColor>
            </configuration>                
    </plugin>

    You should obtain these results :

    RemoteObject reportActionscript UML report

    See http://www.graphviz.org/doc/info/colors.html for the list of colors you can use.

Font Customization

You can change the font size and the font name of graphical reports.

For example, if you want your font to be Arial 12pt you can use this configuration :

<plugin>
        <groupId>net.sf.flex-mvn-report</groupId>
        <artifactId>flex-mvn-report</artifactId>
        <version>0.1-SNAPSHOT</version>         
        <configuration>
                <fontName>arial</fontName>
                <fontSize>12</fontSize>
        </configuration>                
</plugin>

Layout Customization

It is possible to change the layout of graphical reports by using two parameters :

  • The graphviz program name.
  • The graphviz layout.

For example if you prefer to use circo instead of dot you can use this configuration :

<plugin>
        <groupId>net.sf.flex-mvn-report</groupId>
        <artifactId>flex-mvn-report</artifactId>
        <version>0.1-SNAPSHOT</version>         
        <configuration>
                <programName>circo</programName>
        </configuration>                
</plugin>

To change the graphviz layout for Actionscript UML report :

<plugin>
        <groupId>net.sf.flex-mvn-report</groupId>
        <artifactId>flex-mvn-report</artifactId>
        <version>0.1-SNAPSHOT</version>         
        <configuration>
                <actionScriptUMLLayout>TB</actionScriptUMLLayout>
        </configuration>                
</plugin>