All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.aschet.spdx.licensecompat.graph.io.LicenseCompatGraphExporter Maven / Gradle / Ivy

The newest version!
/**
 * Copyright 2017 Thomas Ascher 
 * SPDX-License-Identifier: LGPL-3.0+
 */

package com.github.aschet.spdx.licensecompat.graph.io;

import org.jgrapht.ext.DOTExporter;
import org.jgrapht.ext.IntegerComponentNameProvider;
import org.jgrapht.ext.StringComponentNameProvider;

import com.github.aschet.spdx.licensecompat.graph.LicenseEdge;
import com.github.aschet.spdx.licensecompat.graph.LicenseVertex;

/**
 * Exports a license compatibility graph to a DOT file.
 *
 * @author Thomas Ascher
 */
public class LicenseCompatGraphExporter extends DOTExporter {

	/**
	 * Configures the exporter.
	 */
	public LicenseCompatGraphExporter() {
		super(new IntegerComponentNameProvider<>(), new StringComponentNameProvider<>(),
				new StringComponentNameProvider<>());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy