Class GraphvizNode
- java.lang.Object
-
- com.google.inject.grapher.graphviz.GraphvizNode
-
public class GraphvizNode extends Object
Data object to encapsulate the attributes of Graphviz nodes that we're interested in drawing.
-
-
Constructor Summary
Constructors Constructor Description GraphvizNode(NodeId nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(String portId, String title)
void
addSubtitle(int position, String subtitle)
Map<String,String>
getFields()
String
getHeaderBackgroundColor()
String
getHeaderTextColor()
String
getIdentifier()
NodeId
getNodeId()
NodeShape
getShape()
NodeStyle
getStyle()
List<String>
getSubtitles()
String
getTitle()
void
setHeaderBackgroundColor(String headerBackgroundColor)
void
setHeaderTextColor(String headerTextColor)
void
setIdentifier(String identifier)
void
setShape(NodeShape shape)
void
setStyle(NodeStyle style)
void
setTitle(String title)
-
-
-
Constructor Detail
-
GraphvizNode
public GraphvizNode(NodeId nodeId)
- Since:
- 4.0
-
-
Method Detail
-
getNodeId
public NodeId getNodeId()
- Since:
- 4.0
-
getShape
public NodeShape getShape()
-
setShape
public void setShape(NodeShape shape)
-
getStyle
public NodeStyle getStyle()
-
setStyle
public void setStyle(NodeStyle style)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
addSubtitle
public void addSubtitle(int position, String subtitle)
-
getHeaderTextColor
public String getHeaderTextColor()
-
setHeaderTextColor
public void setHeaderTextColor(String headerTextColor)
-
getHeaderBackgroundColor
public String getHeaderBackgroundColor()
-
setHeaderBackgroundColor
public void setHeaderBackgroundColor(String headerBackgroundColor)
-
getIdentifier
public String getIdentifier()
- Since:
- 4.0
-
setIdentifier
public void setIdentifier(String identifier)
- Since:
- 4.0
-
-