Interface IMermaidGraph

All Superinterfaces:
IComponent<IMermaidGraph>, IHasId<IMermaidGraph>

@Experimental @Deprecated public interface IMermaidGraph extends IComponent<IMermaidGraph>
Deprecated.
  • Method Details

    • setGraphDefinition

      IMermaidGraph setGraphDefinition(String graphDefinition)
      Deprecated.
      Set the graph definition for the Mermaid graph.

      For more information on the syntax, see the Mermaid.js documentation.

      Parameters:
      graphDefinition - the graph definition string
      Returns:
      reference to the MermaidGraph object
    • setHeight

      IMermaidGraph setHeight(int heightInPixels)
      Deprecated.
      Set the height of the graph in pixels.

      This is the maximum height of the graph. The actual height may be less, depending on the content.

      If the actual height is greater than the maximum height, the graph will be scrollable.

      Parameters:
      heightInPixels - the height in pixels