Skip to content

cafetux/dot-diagram-renderer-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maven Plugin to render DOT diagram as PNG

Just a maven plugin that embed a dot2png rendition library into maven plugin.

Usage

Plugin render all .gv files present into parsingDirectory png.

import project

Project is not into maven central or another repository. So you need to build them by yourself.

If you are into compay that have security policies that block jitpack, you need to build this library too: https://github.com/cafetux/dot-diagram-to-picture

And change the pom to import them without jitpack.

Usage in pom

    <build>
        <plugins>
            <plugin>
                <groupId>com.livido</groupId>
                <artifactId>maven-dot-to-png-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
                <configuration>
                    <resultDirectory>target/png</resultDirectory>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>dot-to-png</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

Parameters

    <configuration>
        <parsingDirectory>directory to parse</parsingDirectory>
        <resultDirectory>directory to write results</resultDirectory>
    </configuration>

or use -Dgraph.dot2png.resultDirectory and -Dgraph.dot2png.parsingDirectory

About

a maven plugin that render .gv files (DOT diagrams) to png

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages