Package org.jgrapht.io
Interface ComponentAttributeProvider<T>
-
- Type Parameters:
T
- the type for which attributes are provided for
- All Known Implementing Classes:
EmptyComponentAttributeProvider
@Deprecated public interface ComponentAttributeProvider<T>
Deprecated.In favor of using lambdas.Provides display attributes for vertices and/or edges in a graph.- Author:
- John Sichi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<String,Attribute>
getComponentAttributes(T component)
Deprecated.Returns a set of attribute key/value pairs for a vertex or edge.
-
-
-
Method Detail
-
getComponentAttributes
Map<String,Attribute> getComponentAttributes(T component)
Deprecated.Returns a set of attribute key/value pairs for a vertex or edge. If order is important in the output, be sure to use an order-deterministic map implementation.- Parameters:
component
- vertex or edge for which attributes are to be obtained- Returns:
- key/value pairs, or null if no attributes should be supplied
-
-