• activiti-image-generator


    Survive by day and develop by night.
    talk for import biz , show your perfect code,full busy,skip hardness,make a better result,wait for change,challenge Survive.
    happy for hardess to solve denpendies.

    目录

    在这里插入图片描述

    概述

    ProcessDiagramSVGGraphics2D是一个非常常见的需求。

    需求:

    设计思路

    实现思路分析

    1.ActivitiImageException

    在这里插入图片描述

    2.ProcessDiagramGenerator

    public interface ProcessDiagramGenerator {
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process.
         * If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.
         * @param bpmnModel bpmn model to get diagram for
         * @param highLightedActivities activities to highlight
         * @param highLightedFlows flows to highlight
         * @param activityFontName override the default activity font
         * @param labelFontName override the default label font
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    List<String> highLightedActivities,
                                    List<String> highLightedFlows,
                                    String activityFontName,
                                    String labelFontName,
                                    String annotationFontName);
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process,
         * or the default diagram image, if generateDefaultDiagram param is true.
         * @param bpmnModel bpmn model to get diagram for
         * @param highLightedActivities activities to highlight
         * @param highLightedFlows flows to highlight
         * @param activityFontName override the default activity font
         * @param labelFontName override the default label font
         * @param generateDefaultDiagram true if a default diagram should be generated if there is no graphic info available
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    List<String> highLightedActivities,
                                    List<String> highLightedFlows,
                                    String activityFontName,
                                    String labelFontName,
                                    String annotationFontName,
                                    boolean generateDefaultDiagram);
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process,
         * or the default diagram image, if generateDefaultDiagram param is true.
         * @param bpmnModel bpmn model to get diagram for
         * @param highLightedActivities activities to highlight
         * @param highLightedFlows flows to highlight
         * @param currentActivities current activities to highlight
         * @param erroredActivities errored activities to highlight
         * @param activityFontName override the default activity font
         * @param labelFontName override the default label font
         * @param generateDefaultDiagram true if a default diagram should be generated if there is no graphic info available
         * @param defaultDiagramImageFileName override the default diagram image file name
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    List<String> highLightedActivities,
                                    List<String> highLightedFlows,
                                    List<String> currentActivities,
                                    List<String> erroredActivities,
                                    String activityFontName,
                                    String labelFontName,
                                    String annotationFontName,
                                    boolean generateDefaultDiagram,
                                    String defaultDiagramImageFileName);
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process.
         * If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.
         * @param bpmnModel bpmn model to get diagram for
         * @param highLightedActivities activities to highlight
         * @param highLightedFlows flows to highlight
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    List<String> highLightedActivities,
                                    List<String> highLightedFlows);
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process.
         * If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.
         * @param bpmnModel bpmn model to get diagram for
         * @param highLightedActivities activities to highlight
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    List<String> highLightedActivities);
    
        /**
         * Generates a diagram of the given process definition, using the diagram interchange information of the process.
         * If there is no interchange information available, an ActivitiInterchangeInfoNotFoundException is thrown.
         * @param bpmnModel bpmn model to get diagram for
         */
        InputStream generateDiagram(BpmnModel bpmnModel,
                                    String activityFontName,
                                    String labelFontName,
                                    String annotationFontName);
    
        String getDefaultActivityFontName();
    
        String getDefaultLabelFontName();
    
        String getDefaultAnnotationFontName();
    
        String getDefaultDiagramImageFileName();
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99

    3.ProcessDiagramSVGGraphics2D

    public class ProcessDiagramSVGGraphics2D extends SVGGraphics2D {
    
        public ProcessDiagramSVGGraphics2D(Document domFactory) {
            super(domFactory);
            this.setDOMGroupManager(new ProcessDiagramDOMGroupManager(this.getGraphicContext(),
                                                                      this.getDOMTreeManager()));
        }
    
        @Override
        public void setRenderingHints(@SuppressWarnings("rawtypes") Map hints) {
            super.setRenderingHints(hints);
        }
    
        @Override
        public void addRenderingHints(@SuppressWarnings("rawtypes") Map hints) {
            super.addRenderingHints(hints);
        }
    
        public void setCurrentGroupId(String id) {
            this.getExtendDOMGroupManager().setCurrentGroupId(id);
        }
    
        public ProcessDiagramDOMGroupManager getExtendDOMGroupManager() {
            return (ProcessDiagramDOMGroupManager) super.getDOMGroupManager();
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27

    4.ProcessDiagramDOMGroupManager

    public class ProcessDiagramDOMGroupManager extends DOMGroupManager {
    
        public ProcessDiagramDOMGroupManager(GraphicContext gc,
                                             DOMTreeManager domTreeManager) {
            super(gc,
                  domTreeManager);
        }
    
        public void setCurrentGroupId(String id) {
            this.currentGroup.setAttribute("id",
                                           id);
        }
    }
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14

    5.DefaultProcessDiagramGenerator

    public class DefaultProcessDiagramGenerator implements ProcessDiagramGenerator {
    
        private static final String DEFAULT_ACTIVITY_FONT_NAME = "Arial";
    
        private static final String DEFAULT_LABEL_FONT_NAME = "Arial";
    
        private static final String DEFAULT_ANNOTATION_FONT_NAME = "Arial";
    
        private static final String DEFAULT_DIAGRAM_IMAGE_FILE_NAME = "/image/na.svg";
    
        protected Map<Class<? extends BaseElement>, ActivityDrawInstruction> activityDrawInstructions = new HashMap<Class<? extends BaseElement>, ActivityDrawInstruction>();
    
        protected Map<Class<? extends BaseElement>, ArtifactDrawInstruction> artifactDrawInstructions = new HashMap<Class<? extends BaseElement>, ArtifactDrawInstruction>();
    
        @Override
        public String getDefaultActivityFontName() {
            return DEFAULT_ACTIVITY_FONT_NAME;
        }
    
        @Override
        public String getDefaultLabelFontName() {
            return DEFAULT_LABEL_FONT_NAME;
        }
    
        @Override
        public String getDefaultAnnotationFontName() {
            return DEFAULT_ANNOTATION_FONT_NAME;
        }
    
        @Override
        public String getDefaultDiagramImageFileName() {
            return DEFAULT_DIAGRAM_IMAGE_FILE_NAME;
        }
    
        // The instructions on how to draw a certain construct is
        // created statically and stored in a map for performance.
        public DefaultProcessDiagramGenerator() {
            // start event
            activityDrawInstructions.put(StartEvent.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    StartEvent startEvent = (StartEvent) flowNode;
                    if (startEvent.getEventDefinitions() != null && !startEvent.getEventDefinitions().isEmpty()) {
                        EventDefinition eventDefinition = startEvent.getEventDefinitions().get(0);
                        if (eventDefinition instanceof TimerEventDefinition) {
                            processDiagramCanvas.drawTimerStartEvent(flowNode.getId(),
                                                                     graphicInfo);
                        } else if (eventDefinition instanceof ErrorEventDefinition) {
                            processDiagramCanvas.drawErrorStartEvent(flowNode.getId(),
                                                                     graphicInfo);
                        } else if (eventDefinition instanceof SignalEventDefinition) {
                            processDiagramCanvas.drawSignalStartEvent(flowNode.getId(),
                                                                      graphicInfo);
                        } else if (eventDefinition instanceof MessageEventDefinition) {
                            processDiagramCanvas.drawMessageStartEvent(flowNode.getId(),
                                                                       graphicInfo);
                        } else {
                            processDiagramCanvas.drawNoneStartEvent(flowNode.getId(),
                                                                    graphicInfo);
                        }
                    } else {
                        processDiagramCanvas.drawNoneStartEvent(flowNode.getId(),
                                                                graphicInfo);
                    }
                }
            });
    
            // signal catch
            activityDrawInstructions.put(IntermediateCatchEvent.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    IntermediateCatchEvent intermediateCatchEvent = (IntermediateCatchEvent) flowNode;
                    if (intermediateCatchEvent.getEventDefinitions() != null && !intermediateCatchEvent.getEventDefinitions()
                            .isEmpty()) {
                        if (intermediateCatchEvent.getEventDefinitions().get(0) instanceof SignalEventDefinition) {
                            processDiagramCanvas.drawCatchingSignalEvent(flowNode.getId(),
                                                                         flowNode.getName(),
                                                                         graphicInfo,
                                                                         true);
                        } else if (intermediateCatchEvent.getEventDefinitions().get(0) instanceof TimerEventDefinition) {
                            processDiagramCanvas.drawCatchingTimerEvent(flowNode.getId(),
                                                                        flowNode.getName(),
                                                                        graphicInfo,
                                                                        true);
                        } else if (intermediateCatchEvent.getEventDefinitions().get(0) instanceof MessageEventDefinition) {
                            processDiagramCanvas.drawCatchingMessageEvent(flowNode.getId(),
                                                                          flowNode.getName(),
                                                                          graphicInfo,
                                                                          true);
                        }
                    }
                }
            });
    
            // signal throw
            activityDrawInstructions.put(ThrowEvent.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    ThrowEvent throwEvent = (ThrowEvent) flowNode;
                    if (throwEvent.getEventDefinitions() != null && !throwEvent.getEventDefinitions().isEmpty()) {
                        if (throwEvent.getEventDefinitions().get(0) instanceof SignalEventDefinition) {
                            processDiagramCanvas.drawThrowingSignalEvent(flowNode.getId(),
                                                                         graphicInfo);
                        } else if (throwEvent.getEventDefinitions().get(0) instanceof CompensateEventDefinition) {
                            processDiagramCanvas.drawThrowingCompensateEvent(flowNode.getId(),
                                                                             graphicInfo);
                        } else {
                            processDiagramCanvas.drawThrowingNoneEvent(flowNode.getId(),
                                                                       graphicInfo);
                        }
                    } else {
                        processDiagramCanvas.drawThrowingNoneEvent(flowNode.getId(),
                                                                   graphicInfo);
                    }
                }
            });
    
            // end event
            activityDrawInstructions.put(EndEvent.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    EndEvent endEvent = (EndEvent) flowNode;
                    if (endEvent.getEventDefinitions() != null && !endEvent.getEventDefinitions().isEmpty()) {
                        if (endEvent.getEventDefinitions().get(0) instanceof ErrorEventDefinition) {
                            processDiagramCanvas.drawErrorEndEvent(flowNode.getId(),
                                                                   flowNode.getName(),
                                                                   graphicInfo);
                        } else {
                            processDiagramCanvas.drawNoneEndEvent(flowNode.getId(),
                                                                  flowNode.getName(),
                                                                  graphicInfo);
                        }
                    } else {
                        processDiagramCanvas.drawNoneEndEvent(flowNode.getId(),
                                                              flowNode.getName(),
                                                              graphicInfo);
                    }
                }
            });
    
            // task
            activityDrawInstructions.put(Task.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawTask(flowNode.getId(),
                                                  flowNode.getName(),
                                                  graphicInfo);
                }
            });
    
            // user task
            activityDrawInstructions.put(UserTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawUserTask(flowNode.getId(),
                                                      flowNode.getName(),
                                                      graphicInfo);
                }
            });
    
            // script task
            activityDrawInstructions.put(ScriptTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawScriptTask(flowNode.getId(),
                                                        flowNode.getName(),
                                                        graphicInfo);
                }
            });
    
            // service task
            activityDrawInstructions.put(ServiceTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    ServiceTask serviceTask = (ServiceTask) flowNode;
                    processDiagramCanvas.drawServiceTask(flowNode.getId(),
                                                         serviceTask.getName(),
                                                         graphicInfo);
                }
            });
    
            // receive task
            activityDrawInstructions.put(ReceiveTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawReceiveTask(flowNode.getId(),
                                                         flowNode.getName(),
                                                         graphicInfo);
                }
            });
    
            // send task
            activityDrawInstructions.put(SendTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawSendTask(flowNode.getId(),
                                                      flowNode.getName(),
                                                      graphicInfo);
                }
            });
    
            // manual task
            activityDrawInstructions.put(ManualTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawManualTask(flowNode.getId(),
                                                        flowNode.getName(),
                                                        graphicInfo);
                }
            });
    
            // businessRuleTask task
            activityDrawInstructions.put(BusinessRuleTask.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawBusinessRuleTask(flowNode.getId(),
                                                              flowNode.getName(),
                                                              graphicInfo);
                }
            });
    
            // exclusive gateway
            activityDrawInstructions.put(ExclusiveGateway.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawExclusiveGateway(flowNode.getId(),
                                                              graphicInfo);
                }
            });
    
            // inclusive gateway
            activityDrawInstructions.put(InclusiveGateway.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawInclusiveGateway(flowNode.getId(),
                                                              graphicInfo);
                }
            });
    
            // parallel gateway
            activityDrawInstructions.put(ParallelGateway.class,
                                         new ActivityDrawInstruction() {
    
                @Override
                public void draw(DefaultProcessDiagramCanvas processDiagramCanvas,
                                 BpmnModel bpmnModel,
                                 FlowNode flowNode) {
                    GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId());
                    processDiagramCanvas.drawParallelGateway(flowNode.getId(),
                                                             graphicInfo);
                }
            });
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276
    • 277
    • 278
    • 279
    • 280
    • 281
    • 282
    • 283
    • 284
    • 285
    • 286
    • 287
    • 288
    • 289
    • 290
    • 291
    • 292
    • 293
    • 294
    • 295
    • 296
    • 297
    • 298
    • 299
    • 300
    • 301
    • 302
    • 303
    • 304
    • 305
    • 306
    • 307
    • 308
    • 309
    • 310
    • 311
    • 312
    • 313
    • 314
    • 315
    • 316
    • 317
    • 318
    • 319
    • 320
    • 321
    • 322

    在这里插入图片描述

    参考资料和推荐阅读

    [1]. www.acitivte.org

    欢迎阅读,各位老铁,如果对你有帮助,点个赞加个关注呗!~

  • 相关阅读:
    HTML5网页设计制作基础大二dreamweaver作业、使用HTML+CSS技术制作博客网站(5个页面)
    低代码源代码交付的平台有哪些?
    新学期——学习计划大挑战
    浅谈树上启发式合并(dsu on tree)
    Java使用Documents4j实现Word转PDF(知识点+案例)
    c++11 多线程支持 (std::shared_future)
    Spring Cloud Gateway编码实现任意地址跳转
    数据在内存中是如何存储的?(上)
    15天获取20万用户,小程序如何做到?
    界面控件DevExpress WPF流程图组件,完美复制Visio UI!(一)
  • 原文地址:https://blog.csdn.net/xiamaocheng/article/details/127931733