Skip to content

RyanMarcus/ggen4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java wrapper around GGen

This is a simple Java wrapper around GGen. Better docs to come, for now here is a simple example:

public static void main(String[] args) throws GGenException {
	GGenCommand.GGEN_PATH = "/Users/ryan/local/bin/ggen";

	GGenGraph gg = GGen.staticGraph()
			.cholesky(5)
			.edgeProperty("weight").flat(0.0, 100.5)
			.edgeProperty("weight2").pareto(1.0, 5.0)
			.generateGraph();
	
	System.out.println("Sources: " + gg.getSources());
	System.out.println("As DOT: " + gg.toGraphviz());
}

You can add it from my personal Maven repo:

<repositories>
		<repository>
			<id>git-ryanmarcus</id>
			<name>RyanMarcus's Git based repo</name>
			<url>https://github.com/RyanMarcus/maven-repo/raw/master/</url>
		</repository>
</repositories>

<dependencies>
	<dependency>
		<groupId>edu.brandeis</groupId>
		<artifactId>ggen4j</artifactId>
		<version>0.0.1</version>
	</dependency>
</dependencies>

About

A simple Java wrapper around the GGen graph generation tool

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages