Class WorkflowEdge.EdgeStyle

java.lang.Object
com.bytedesk.core.workflow.edge.WorkflowEdge.EdgeStyle
All Implemented Interfaces:
Serializable
Enclosing class:
WorkflowEdge

public static class WorkflowEdge.EdgeStyle extends Object implements Serializable
边样式类 用于定义边的视觉样式
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • color

      private String color
      边的颜色
    • strokeWidth

      private Integer strokeWidth
      边的线宽
    • strokeType

      private String strokeType
      边的线型(solid, dashed, dotted)
    • showArrow

      private Boolean showArrow
      是否显示箭头
    • arrowSize

      private Integer arrowSize
      箭头大小
    • opacity

      private Double opacity
      边的透明度 (0.0 - 1.0)
    • animated

      private Boolean animated
      是否动画显示
  • Constructor Details

    • EdgeStyle

      public EdgeStyle()
  • Method Details

    • toJson

      public String toJson()
      将对象转换为JSON字符串