Uses of Interface
org.jgrapht.nio.Attribute
Package
Description
Importers/Exporters for various graph formats.
DOT importers/exporters
Json importers/exporters
-
Uses of Attribute in org.jgrapht.nio
Modifier and TypeClassDescriptionclass
Default implementation of an attribute.Modifier and TypeFieldDescriptionstatic final Attribute
DefaultAttribute.NULL
The null attribute.Modifier and TypeFieldDescriptionBaseExporter.edgeAttributeProvider
An edge attribute providerBaseExporter.graphAttributeProvider
A graph attribute providerBaseExporter.vertexAttributeProvider
A vertex attribute providerModifier and TypeMethodDescriptionstatic Attribute
DefaultAttribute.createAttribute
(Boolean value) Create a boolean attributestatic Attribute
DefaultAttribute.createAttribute
(Double value) Create a double attributestatic Attribute
DefaultAttribute.createAttribute
(Float value) Create a float attributestatic Attribute
DefaultAttribute.createAttribute
(Integer value) Create an integer attributestatic Attribute
DefaultAttribute.createAttribute
(Long value) Create a long attributestatic Attribute
DefaultAttribute.createAttribute
(String value) Create a string attributeModifier and TypeMethodDescriptionBaseExporter.getEdgeAttribute
(E e, String key) Get an optional of an edge attributeBaseExporter.getEdgeAttributeProvider()
Get the edge attribute providerBaseExporter.getEdgeAttributes
(E e) Get edge attributesBaseExporter.getGraphAttribute
(String key) Get an optional of a graph attributeBaseExporter.getGraphAttributeProvider()
Get the graph attribute provider.BaseExporter.getVertexAttribute
(V v, String key) Get an optional of a vertex attributeBaseExporter.getVertexAttributeProvider()
Get the vertex attribute providerBaseExporter.getVertexAttributes
(V v) Get vertex attributesModifier and TypeMethodDescriptionprotected void
BaseEventDrivenImporter.notifyEdgeAttribute
(E e, String key, Attribute value) Notify for an edge attributeprotected void
BaseEventDrivenImporter.notifyGraphAttribute
(String key, Attribute value) Notify for a graph attributeprotected void
BaseEventDrivenImporter.notifyVertexAttribute
(V v, String key, Attribute value) Notify for a vertex attributeModifier and TypeMethodDescriptionvoid
BaseEventDrivenImporter.addEdgeAttributeConsumer
(BiConsumer<Pair<E, String>, Attribute> consumer) Add an edge attribute consumer.void
EventDrivenImporter.addEdgeAttributeConsumer
(BiConsumer<Pair<E, String>, Attribute> consumer) Add an edge attribute consumer.void
BaseEventDrivenImporter.addEdgeWithAttributesConsumer
(BiConsumer<E, Map<String, Attribute>> consumer) Add an edge with attributes consumer.void
EventDrivenImporter.addEdgeWithAttributesConsumer
(BiConsumer<E, Map<String, Attribute>> consumer) Add an edge with attributes consumer.void
BaseEventDrivenImporter.addGraphAttributeConsumer
(BiConsumer<String, Attribute> consumer) Add a graph attribute consumer.void
EventDrivenImporter.addGraphAttributeConsumer
(BiConsumer<String, Attribute> consumer) Add a graph attribute consumer.void
BaseEventDrivenImporter.addVertexAttributeConsumer
(BiConsumer<Pair<V, String>, Attribute> consumer) Add a vertex attribute consumer.void
EventDrivenImporter.addVertexAttributeConsumer
(BiConsumer<Pair<V, String>, Attribute> consumer) Add a vertex attribute consumer.void
BaseEventDrivenImporter.addVertexWithAttributesConsumer
(BiConsumer<V, Map<String, Attribute>> consumer) Add a vertex with attributes consumer.void
EventDrivenImporter.addVertexWithAttributesConsumer
(BiConsumer<V, Map<String, Attribute>> consumer) Add a vertex with attributes consumer.protected void
BaseEventDrivenImporter.notifyEdgeWithAttributes
(E e, Map<String, Attribute> attrs) Notify for an edge with attributes.protected void
BaseEventDrivenImporter.notifyVertexWithAttributes
(V v, Map<String, Attribute> attrs) Notify for a vertex with attributes.void
BaseEventDrivenImporter.removeEdgeAttributeConsumer
(BiConsumer<Pair<E, String>, Attribute> consumer) Remove an edge attribute consumer.void
EventDrivenImporter.removeEdgeAttributeConsumer
(BiConsumer<Pair<E, String>, Attribute> consumer) Remove an edge attribute consumer.void
BaseEventDrivenImporter.removeEdgeWithAttributesConsumer
(BiConsumer<E, Map<String, Attribute>> consumer) Remove an edge with attributes consumervoid
EventDrivenImporter.removeEdgeWithAttributesConsumer
(BiConsumer<E, Map<String, Attribute>> consumer) Remove an edge with attributes consumervoid
BaseEventDrivenImporter.removeGraphAttributeConsumer
(BiConsumer<String, Attribute> consumer) Remove a graph attribute consumer.void
EventDrivenImporter.removeGraphAttributeConsumer
(BiConsumer<String, Attribute> consumer) Remove a graph attribute consumer.void
BaseEventDrivenImporter.removeVertexAttributeConsumer
(BiConsumer<Pair<V, String>, Attribute> consumer) Remove a vertex attribute consumer.void
EventDrivenImporter.removeVertexAttributeConsumer
(BiConsumer<Pair<V, String>, Attribute> consumer) Remove a vertex attribute consumer.void
BaseEventDrivenImporter.removeVertexWithAttributesConsumer
(BiConsumer<V, Map<String, Attribute>> consumer) Remove a vertex with attributes consumervoid
EventDrivenImporter.removeVertexWithAttributesConsumer
(BiConsumer<V, Map<String, Attribute>> consumer) Remove a vertex with attributes consumervoid
Set the edge attribute provider.void
BaseExporter.setGraphAttributeProvider
(Supplier<Map<String, Attribute>> graphAttributeProvider) Set the graph attribute provider.void
Set the vertex attribute provider -
Uses of Attribute in org.jgrapht.nio.dot
Modifier and TypeMethodDescriptionDOTImporter.getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.DOTImporter.getVertexWithAttributesFactory()
Get the user custom vertex factory with attributes.Modifier and TypeMethodDescriptionvoid
DOTImporter.setEdgeWithAttributesFactory
(Function<Map<String, Attribute>, E> edgeWithAttributesFactory) Set the user custom edge factory with attributes.void
DOTImporter.setVertexWithAttributesFactory
(BiFunction<String, Map<String, Attribute>, V> vertexWithAttributesFactory) Set the user custom vertex factory with attributes. -
Uses of Attribute in org.jgrapht.nio.json
Modifier and TypeMethodDescriptionJSONImporter.getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.Modifier and TypeMethodDescriptionvoid
JSONImporter.setEdgeWithAttributesFactory
(Function<Map<String, Attribute>, E> edgeWithAttributesFactory) Set the user custom edge factory with attributes.void
JSONImporter.setVertexWithAttributesFactory
(BiFunction<String, Map<String, Attribute>, V> vertexWithAttributesFactory) Set the user custom vertex factory with attributes.