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 voidaddField(String portId, String title)voidaddSubtitle(int position, String subtitle)Map<String,String>getFields()StringgetHeaderBackgroundColor()StringgetHeaderTextColor()StringgetIdentifier()NodeIdgetNodeId()NodeShapegetShape()NodeStylegetStyle()List<String>getSubtitles()StringgetTitle()voidsetHeaderBackgroundColor(String headerBackgroundColor)voidsetHeaderTextColor(String headerTextColor)voidsetIdentifier(String identifier)voidsetShape(NodeShape shape)voidsetStyle(NodeStyle style)voidsetTitle(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
-
-