com.github.aschet.spdx.licensecompat.graph.io.LicenseCompatGraphExporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spdx-license-compat Show documentation
Show all versions of spdx-license-compat Show documentation
A license compatibility graph implementation for SPDX license identifiers.
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<>());
}
}