#!/bin/sh

# Script to generate ImageJ dependency graphs using maven-graph-plugin.
# Requires graphviz to be installed.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
COMPONENTS=(core gui)

GRAPH_CMD="
  neato
  -Goverlap=false
  -Gsplines=true
  -Tsvg
  -o dependency-graph.svg
  dependency-graph.dot
"

for c in ${COMPONENTS[*]}
do
  cd $ROOT/$c
  mvn graph:reactor
  cd target && $GRAPH_CMD
done

#!/bin/sh

# Script to generate ImageJ dependency graphs using maven-graph-plugin.
# Requires graphviz to be installed.

set -e

ROOT=`cd "$(dirname $0)/.." ; pwd`
COMPONENTS=(. core gui)

GRAPH_CMD="
  neato
  -Goverlap=scale
  -Gsplines=true
  -Gepsilon=0.0001
  -Tsvg
  -o dependency-graph.svg
  dependency-graph.dot
"

for c in ${COMPONENTS[*]}
do
  cd $ROOT/$c
  mvn graph:reactor
  cd target && $GRAPH_CMD
done

Tweak dependency graph generation a bit.
Tweak dependency graph generation a bit.


This used to be revision r2405.
