Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:dont_play_with_elements_size [2024-08-20 16:05] – Anatoly Belaychuk | ru:rule:dont_play_with_elements_size [2024-08-20 16:56] (текущий) – Embedded diagram updated Anatoly Belaychuk |
---|
====== 0-TBD Не играйтесь с размерами элементов ====== | ====== Не играйтесь с размерами элементов ====== |
| |
{{tag>именование}} | {{tag>именование}} |
| |
{{:ru:v_razrabotke.png?nolink&200|}} | Не стоит менять размеры элементов, подстраивая их под текст названия. |
| |
Тут описание правила | |
| |
===== ✔ Как надо ===== | ===== ✔ Как надо ===== |
<bpmnio type="bpmn"> | <bpmnio type="bpmn"> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
<definitions | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | <process id="Process_1qqt81t"> |
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | <task id="Activity_0hld63f" name="Сформировать схему размещения товаров на складе"> |
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" | <outgoing>Flow_1uwtj32</outgoing> |
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" | </task> |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | <task id="Activity_1mz2v20" name="Напечатать наряд на размещение и паспорта паллет"> |
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" | <incoming>Flow_1uwtj32</incoming> |
targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> | <outgoing>Flow_1na805y</outgoing> |
<collaboration id="Collaboration_1oh70al"> | </task> |
<participant id="Participant_1r8g02m" name="Добавить диаграмму BPMN" processRef="Process_1" /> | <sequenceFlow id="Flow_1uwtj32" sourceRef="Activity_0hld63f" targetRef="Activity_1mz2v20" /> |
</collaboration> | <task id="Activity_098fea9" name="Расставить товары на РЦ"> |
<process id="Process_1" isExecutable="false"> | <incoming>Flow_1na805y</incoming> |
<startEvent id="StartEvent_1" name="Start"> | </task> |
<outgoing>SequenceFlow_1</outgoing> | <sequenceFlow id="Flow_1na805y" sourceRef="Activity_1mz2v20" targetRef="Activity_098fea9" /> |
</startEvent> | <textAnnotation id="TextAnnotation_0p97z6l"> |
<task id="Task_1" name="Do Something"> | <text>в том числе брака</text> |
<incoming>SequenceFlow_1</incoming> | </textAnnotation> |
<incoming>SequenceFlow_121ul2c</incoming> | <association id="Association_0ema8cp" sourceRef="Activity_0hld63f" targetRef="TextAnnotation_0p97z6l" /> |
<incoming>SequenceFlow_0nuwads</incoming> | </process> |
<outgoing>SequenceFlow_2</outgoing> | <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
</task> | <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1qqt81t"> |
<exclusiveGateway id="ExclusiveGateway_1" name="Result OK" gatewayDirection="Diverging"> | <bpmndi:BPMNShape id="TextAnnotation_0p97z6l_di" bpmnElement="TextAnnotation_0p97z6l"> |
<incoming>SequenceFlow_2</incoming> | <omgdc:Bounds x="240" y="10" width="100" height="41" /> |
<outgoing>SequenceFlow_0snv4kp</outgoing> | <bpmndi:BPMNLabel /> |
<outgoing>SequenceFlow_0nuwads</outgoing> | </bpmndi:BPMNShape> |
</exclusiveGateway> | <bpmndi:BPMNShape id="Activity_0hld63f_di" bpmnElement="Activity_0hld63f"> |
<task id="Task_17knw8l" name="Monitor"> | <omgdc:Bounds x="200" y="70" width="100" height="80" /> |
<outgoing>SequenceFlow_121ul2c</outgoing> | <bpmndi:BPMNLabel /> |
</task> | </bpmndi:BPMNShape> |
<endEvent id="EndEvent_0oj7l6x" name="End"> | <bpmndi:BPMNShape id="Activity_1mz2v20_di" bpmnElement="Activity_1mz2v20"> |
<incoming>SequenceFlow_0snv4kp</incoming> | <omgdc:Bounds x="360" y="70" width="100" height="80" /> |
</endEvent> | <bpmndi:BPMNLabel /> |
<sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" /> | </bpmndi:BPMNShape> |
<sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" /> | <bpmndi:BPMNShape id="Activity_098fea9_di" bpmnElement="Activity_098fea9"> |
<sequenceFlow id="SequenceFlow_0nuwads" name="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" /> | <omgdc:Bounds x="520" y="70" width="100" height="80" /> |
<sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="ExclusiveGateway_1" /> | <bpmndi:BPMNLabel /> |
<sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" /> | </bpmndi:BPMNShape> |
</process> | <bpmndi:BPMNEdge id="Association_0ema8cp_di" bpmnElement="Association_0ema8cp"> |
<bpmndi:BPMNDiagram id="BpmnDiagram_1"> | <di:waypoint x="269" y="70" /> |
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al"> | <di:waypoint x="283" y="40" /> |
<bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m"> | </bpmndi:BPMNEdge> |
<omgdc:Bounds x="104" y="78" width="668" height="297" /> | <bpmndi:BPMNEdge id="Flow_1uwtj32_di" bpmnElement="Flow_1uwtj32"> |
</bpmndi:BPMNShape> | <di:waypoint x="300" y="110" /> |
<bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1"> | <di:waypoint x="360" y="110" /> |
<omgdc:Bounds x="242" y="187" width="30" height="30" /> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNLabel> | <bpmndi:BPMNEdge id="Flow_1na805y_di" bpmnElement="Flow_1na805y"> |
<omgdc:Bounds x="212" y="219" width="90" height="22" /> | <di:waypoint x="460" y="110" /> |
</bpmndi:BPMNLabel> | <di:waypoint x="520" y="110" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1"> | </bpmndi:BPMNPlane> |
<omgdc:Bounds x="340" y="162" width="100" height="80" /> | </bpmndi:BPMNDiagram> |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true"> | |
<omgdc:Bounds x="508" y="182" width="40" height="40" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="483" y="234" width="90" height="24" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l"> | |
<omgdc:Bounds x="340" y="275" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x"> | |
<omgdc:Bounds x="648" y="184" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="621" y="220" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="272" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="340" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="225" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="275" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="242" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="358" y="273" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="182" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="162" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="495" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="440" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="508" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="433" y="192" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="548" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="648" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="550" y="183" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</definitions> | </definitions> |
</bpmnio> | </bpmnio> |
===== ✘ Как НЕ надо ===== | ===== ✘ Как НЕ надо ===== |
| |
<diagram><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="578px" height="81px" viewBox="-0.5 -0.5 578 81" content="<mxfile host="embed.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" version="24.7.7"><diagram id="JVxE7JagsKKI6EE8eKf4" name="Страница — 1">7VhLj5swEP41kdpLhXklHEMe7aGVKm2lbo/e4AVagiPH2YT++g7YhuGRbLolWlXai+X5PDOex2fjZOIstqePgu6SLzxi2cS2otPEWU5sO/AJjCVQKMALNBCLNFIQAu7S30yDlkYPacT2LUXJeSbTXRvc8DxnG9nCqBD82FZ75Fl71x2NWQ+429Csj35PI5kodGZPG/wTS+PE7Ez8QK1sqVHWmewTGvEjgpzVxFkIzqWabU8LlpW1M3VRduszq3VgguXyKgNt8USzg05OByYLky2LIHktciETHvOcZqsGDQU/5BErXVogNTqfOd8BSAD8yaQsdCfpQXKAErnN9CrLo3nZFxAfMr759S1JcwWv0wwpaQcE6hSqOMvgzuauoT0/iI3WcjRdqIiZ1grqugNfGd8yKQpQESyjMn1qe6eaOXGt1xQXJrq+w7V2+qWGes3dcgxXE8hxZlXzRTXOELKqxko/VMjS6MDogddKmVSjp0HtCpDQKFjIwxTt5VWrATJcohjWxtweCqYXpI0jtFBsIM6rMURhuE0Ktp9BS8IHAbO4nL1DHjvbLww4RYES5N0zcZBe5ioI632P6Q2PS74dk1Syux2tqHOEi6zNWd1NJiQ7XWZgn1vaoL7QCnMatXxsbhVirooE3Sgz69/pGAzSMVgjQkxRj+1qXHS7q2tbsaRpp3WGBC/gH+b3i/kHx0yNvlmdmcka+SEIWaHU7CH/a5RL2CKeMnltcjmzDrnsAXKRAXL5I5DL+O1edla72vXYv9pwl+dtFo1Cg1fujud2uuNcefTdMboz8Cn6T776UF5R3Os9K+FHKXzwjLg84cVlYaRTKu+NS5gjK5Aao1IwNi97YQT9Fwaxhrlw9RNDm37lKWxcc8gNOhxyA8io5UQFpu3wO7DjyvOedaUS6rmCDtICqe1Khf35oD27s5NnXY7ssj5MVAQN8esCX3cW3LezcLOzcCPi+/5oxJ92n2A3I77fPa1jE9l/I/KIRB6dtGQ80vZ+N9yMtOTsJ+ZcbM9a/C3RQWz+D1HqzZ9KzuoP</diagram></mxfile>"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="11"><g><path d="M 183 40 L 218.88 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 231.88 40 L 218.88 44.33 L 218.88 35.67 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/></g></g><g data-cell-id="3"><g><rect x="63" y="0" width="120" height="80" rx="12" ry="12" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 64px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Формирование схемы размещения товаров на складе <br />(в том числе брака)</div></div></div></foreignObject><text x="123" y="44" fill="rgb(0, 0, 0)" font-family=""Helvetica"" font-size="12px" text-anchor="middle">Формирование схемы размещения товаров на складе...</text></switch></g></g></g><g data-cell-id="9"><g><rect x="233" y="10" width="110" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 108px; height: 1px; padding-top: 40px; margin-left: 234px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Печать наряда на размещение товаров на РЦ и паспортов паллет</div></div></ |