public enum NodeGraphType extends Enum<NodeGraphType>
文件名:NodeGraphType.java
用途: 枚举在流程图中需要使用到的节点图形枚举
编码时间:2022年3月1日 上午8:25:59
修改时间:2022年3月1日 上午8:25:59
Enum Constant and Description |
---|
CIRCLE
圆形
|
CYLINDER
圆柱形
|
DIAMOND
菱形
|
ELLIPSE
椭圆形
|
HEXAGON
六边形
|
PARALLELOGRAM_LEFT
平行四边形,顶部尖角朝左
|
PARALLELOGRAM_RIGHT
平行四边形,顶部尖角朝右
|
PROCESS
子程序型
|
ROUNDED_RECTANGLE
圆角矩形
|
STEP
鱼尾旗形
|
TRAPEZOID
正梯形
|
TRAPEZOID_INVERTED
倒置梯形
|
Modifier and Type | Method and Description |
---|---|
String |
getSign()
该方法用于返回枚举在mermaid语法中的标识,以格式化字符串的形式,其%s表示图形中的内容
|
static NodeGraphType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeGraphType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeGraphType ROUNDED_RECTANGLE
public static final NodeGraphType ELLIPSE
public static final NodeGraphType PROCESS
public static final NodeGraphType CYLINDER
public static final NodeGraphType CIRCLE
public static final NodeGraphType STEP
public static final NodeGraphType DIAMOND
public static final NodeGraphType HEXAGON
public static final NodeGraphType PARALLELOGRAM_RIGHT
public static final NodeGraphType PARALLELOGRAM_LEFT
public static final NodeGraphType TRAPEZOID
public static final NodeGraphType TRAPEZOID_INVERTED
public static NodeGraphType[] values()
for (NodeGraphType c : NodeGraphType.values()) System.out.println(c);
public static NodeGraphType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSign()
Copyright © 2024. All rights reserved.