Uses of Interface
org.jgrapht.nio.Attribute
Packages that use Attribute
Package
Description
Importers/Exporters for various graph formats.
DOT importers/exporters
Json importers/exporters
-
Uses of Attribute in org.jgrapht.nio
Classes in org.jgrapht.nio that implement AttributeModifier and TypeClassDescriptionclass
Default implementation of an attribute.Fields in org.jgrapht.nio declared as AttributeModifier and TypeFieldDescriptionstatic final Attribute
DefaultAttribute.NULL
The null attribute.Fields in org.jgrapht.nio with type parameters of type AttributeModifier and TypeFieldDescriptionBaseExporter.edgeAttributeProvider
An edge attribute providerBaseExporter.graphAttributeProvider
A graph attribute providerBaseExporter.vertexAttributeProvider
A vertex attribute providerMethods in org.jgrapht.nio that return AttributeModifier 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 attributeMethods in org.jgrapht.nio that return types with arguments of type 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 attributesMethods in org.jgrapht.nio with parameters of type AttributeModifier 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 attributeMethod parameters in org.jgrapht.nio with type arguments of type 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
Methods in org.jgrapht.nio.dot that return types with arguments of type AttributeModifier and TypeMethodDescriptionDOTImporter.getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.DOTImporter.getVertexWithAttributesFactory()
Get the user custom vertex factory with attributes.Method parameters in org.jgrapht.nio.dot with type arguments of type AttributeModifier 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
Methods in org.jgrapht.nio.json that return types with arguments of type AttributeModifier and TypeMethodDescriptionJSONImporter.getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.Method parameters in org.jgrapht.nio.json with type arguments of type AttributeModifier 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.