public class GraphType
extends java.lang.Object
The graph consists of VertexType
objects, each having
0 or more input and/or output EdgeType
objects.
EdgeType
objects connect an output connector to
an input connector.
A vertex has an associated Oplet
.
Constructor and Description |
---|
GraphType()
Default constructor of
GraphType . |
GraphType(Graph graph)
Create an instance of
GraphType . |
GraphType(Graph g,
org.apache.edgent.runtime.etiao.graph.model.IdMapper<java.lang.String> ids)
Create an instance of
GraphType using the specified
IdMapper to generate unique object identifiers. |
Modifier and Type | Method and Description |
---|---|
java.util.List<EdgeType> |
getEdges() |
java.util.List<VertexType<?,?>> |
getVertices() |
public GraphType(Graph graph)
GraphType
.graph
- the associated Graphpublic GraphType(Graph g, org.apache.edgent.runtime.etiao.graph.model.IdMapper<java.lang.String> ids)
GraphType
using the specified
IdMapper
to generate unique object identifiers.g
- the associated Graphids
- the id mapperpublic GraphType()
GraphType
.public java.util.List<VertexType<?,?>> getVertices()
public java.util.List<EdgeType> getEdges()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641