Package | Description |
---|---|
org.jgrapht.io |
Importers/Exporters for various graph formats.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAttribute<T>
Default implementation of an attribute.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
DefaultAttribute.createAttribute(Boolean value)
Create a boolean attribute
|
static Attribute |
DefaultAttribute.createAttribute(Double value)
Create a double attribute
|
static Attribute |
DefaultAttribute.createAttribute(Float value)
Create a float attribute
|
static Attribute |
DefaultAttribute.createAttribute(Integer value)
Create an integer attribute
|
static Attribute |
DefaultAttribute.createAttribute(Long value)
Create a long attribute
|
static Attribute |
DefaultAttribute.createAttribute(String value)
Create a string attribute
|
Modifier and Type | Method and Description |
---|---|
Map<String,Attribute> |
ComponentAttributeProvider.getComponentAttributes(T component)
Returns a set of attribute key/value pairs for a vertex or edge.
|
Modifier and Type | Method and Description |
---|---|
E |
EdgeProvider.buildEdge(V from,
V to,
String label,
Map<String,Attribute> attributes)
Construct an edge.
|
V |
VertexProvider.buildVertex(String id,
Map<String,Attribute> attributes)
Create a vertex
|
void |
ComponentUpdater.update(T component,
Map<String,Attribute> attributes)
Update component with the extra attributes.
|
Copyright © 2018. All rights reserved.