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.
  • Field Details

  • Constructor Details

    • GraphvizNode

      public GraphvizNode(NodeId nodeId)
      Since:
      4.0
  • Method Details

    • 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)
    • getSubtitles

      public List<String> getSubtitles()
    • 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)
    • addField

      public void addField(String portId, String title)
    • getFields

      public Map<String,String> getFields()
    • getIdentifier

      public String getIdentifier()
      Since:
      4.0
    • setIdentifier

      public void setIdentifier(String identifier)
      Since:
      4.0