org.biomoby.client
Class RDF
java.lang.Object
org.biomoby.client.RDF
public abstract class RDF
- extends Object
A utility class that understands how to create
graphviz graphs from a set of
ServiceEdges
, or from other
data structures.
- Version:
- $Id: RDF.java,v 1.4 2005/07/19 12:39:59 senger Exp $
- Author:
- Martin Senger
Constructor Summary |
RDF()
|
PREDICATE_HAS_OUTPUT
public static final String PREDICATE_HAS_OUTPUT
- See Also:
- Constant Field Values
PREDICATE_HAS_INPUT
public static final String PREDICATE_HAS_INPUT
- See Also:
- Constant Field Values
RDF
public RDF()
createServicesGraph
public static String createServicesGraph(ServicesEdge[] edges,
Properties props)
- Creates a graph connecting Moby services as defined in a set of
the graph 'edges.
- Parameters:
edges
- represent services and their connectors in the
created graphprops
- are some properties that can influence how the
graph will look like; see the property names elswhere in this
API what properties are understood
- Returns:
- a string with all definitions as understood by 'dot'
program (from the graphviz package); this string can be saved
in a '.dot' file that can be passed to a dot program to produce
graphs in many available formats
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010