public class DOTExporter<V,E> extends Object
For a description of the format see http://en.wikipedia.org/wiki/DOT_language.
Constructor and Description |
---|
DOTExporter()
Constructs a new DOTExporter object with an integer name provider for the
vertex IDs and null providers for the vertex and edge labels.
|
DOTExporter(VertexNameProvider<V> vertexIDProvider,
VertexNameProvider<V> vertexLabelProvider,
EdgeNameProvider<E> edgeLabelProvider)
Constructs a new DOTExporter object with the given ID and label
providers.
|
DOTExporter(VertexNameProvider<V> vertexIDProvider,
VertexNameProvider<V> vertexLabelProvider,
EdgeNameProvider<E> edgeLabelProvider,
ComponentAttributeProvider<V> vertexAttributeProvider,
ComponentAttributeProvider<E> edgeAttributeProvider)
Constructs a new DOTExporter object with the given ID, label, and
attribute providers.
|
public DOTExporter()
public DOTExporter(VertexNameProvider<V> vertexIDProvider, VertexNameProvider<V> vertexLabelProvider, EdgeNameProvider<E> edgeLabelProvider)
vertexIDProvider
- for generating vertex IDs. Must not be null.vertexLabelProvider
- for generating vertex labels. If null, vertex
labels will not be written to the file.edgeLabelProvider
- for generating edge labels. If null, edge labels
will not be written to the file.public DOTExporter(VertexNameProvider<V> vertexIDProvider, VertexNameProvider<V> vertexLabelProvider, EdgeNameProvider<E> edgeLabelProvider, ComponentAttributeProvider<V> vertexAttributeProvider, ComponentAttributeProvider<E> edgeAttributeProvider)
vertexIDProvider
- for generating vertex IDs. Must not be null.vertexLabelProvider
- for generating vertex labels. If null, vertex
labels will not be written to the file (unless an attribute provider is
supplied which also supplies labels).edgeLabelProvider
- for generating edge labels. If null, edge labels
will not be written to the file.vertexAttributeProvider
- for generating vertex attributes. If null,
vertex attributes will not be written to the file.edgeAttributeProvider
- for generating edge attributes. If null,
edge attributes will not be written to the file.Copyright © 2016. All rights reserved.