Interface ComponentAttributeProvider<T>


public interface ComponentAttributeProvider<T>
Provides display attributes for vertices and/or edges in a graph.
Version:
$Id: ComponentAttributeProvider.java 714 2010-06-13 01:19:56Z perfecthash $
Author:
John Sichi
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a set of attribute key/value pairs for a vertex or edge.
  • Method Details

    • getComponentAttributes

      Map<String,String> getComponentAttributes(T component)
      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