| Package | Description |
|---|---|
| org.neo4j.visualization.graphviz.color |
| Modifier and Type | Method and Description |
|---|---|
Color |
ColorMapper.getColor(E entity)
Get color for an entity.
|
Color |
SimpleNodeColorMapper.getColor(org.neo4j.graphdb.Node entity) |
Color |
SimpleRelationshipTypeColorMapper.getColor(org.neo4j.graphdb.RelationshipType type) |
static Color |
Color.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Color[] |
Color.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Color> |
SimpleNodeColorMapper.getColors() |
Collection<Color> |
ColorMapper.getColors()
Colors to reserve - note that it will only be called once, any changes to
the collection after that will have no effect.
|
Collection<Color> |
SimpleRelationshipTypeColorMapper.getColors() |
| Constructor and Description |
|---|
DefaultColorMapping(Collection<Color> reservedColors)
Map colors from
Color while excluding the reserved colors. |
SimpleNodeColorMapper(String propertyKey,
Map<Object,Color> mappings)
Map from property values to colors.
|
SimpleRelationshipTypeColorMapper(Map<String,Color> mappings)
Map relationship types represented as strings to colors.
|
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.