G
- public interface GraphFactory<G extends Graph<?,?>>
@MetaInfServices( GraphFactory.class)
annotation.Modifier and Type | Method and Description |
---|---|
G |
create()
Create a new graph of the type factory is managing
|
EdgeStyle |
createDefaultEdgeStyle(G graph) |
NodeStyle |
createDefaultNodeStyle(G graph) |
Class<G> |
getGraphClass()
Return the class of graph this factory is managing
|
String |
getGraphType()
Return the type of graph this factory is managing
|
Class |
getParser()
Return the class of the parser to use to read from file the type
of graph the factory manager
|
Class<G> getGraphClass()
String getGraphType()
Class getParser()
G create()
Copyright © 2005–2020. All rights reserved.