-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Render vertical lanes #573
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8b4e32c
Detect isHorizontal for Lane
csouchet a92307c
Render isHorizontal for Lane
csouchet 02dc94a
fix lint-check
csouchet 7036b89
Fix unit tests
csouchet b1ffe6c
Update src/component/mxgraph/config/StyleConfigurator.ts
csouchet dfe89ce
add sub-lanes in pools vertical non regression diagram
tbouffard 1977619
fix: update threshold configuration entry after bpmn diagram rename
tbouffard 751c80e
update visu tests threshold to make tests pass on local Ubuntu
tbouffard c14c8fd
Merge branch 'master' into 127-Render_vertical_lanes
csouchet b7715b7
Merge branch 'master' into 127-Render_vertical_lanes
tbouffard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-5.95 KB
...hots__/bpmn-rendering-test-ts-no-visual-regression-pools-02-vertical-1-snap.png
Binary file not shown.
Binary file added
BIN
+8.9 KB
...-rendering-test-ts-no-visual-regression-pools-02-vertical-with-lanes-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
test/fixtures/bpmn/model-vertical-pool-lanes-sub_lanes.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1bo1yrl" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="7.2.0"> | ||
<bpmn:collaboration id="Collaboration_0005yoe"> | ||
<bpmn:participant id="Participant_Vertical_With_Lanes" name="Vertical Pool With Lanes" processRef="Process_Vertical_With_Lanes" /> | ||
</bpmn:collaboration> | ||
<bpmn:process id="Process_Vertical_With_Lanes"> | ||
<bpmn:laneSet> | ||
<bpmn:lane id="Lane_Vertical_3" /> | ||
<bpmn:lane id="Lane_Vertical_With_Sub_Lane" name="Lane with Sub-Lanes"> | ||
<bpmn:childLaneSet> | ||
<bpmn:lane id="SubLane_Vertical_2" name="Sub-Lane 2" /> | ||
<bpmn:lane id="SubLane_Vertical_1" name="Sub-Lane 1" /> | ||
</bpmn:childLaneSet> | ||
</bpmn:lane> | ||
<bpmn:lane id="Lane_Vertical_1" name="Lane" /> | ||
</bpmn:laneSet> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0005yoe"> | ||
<bpmndi:BPMNShape id="Participant_Vertical_With_Lanes_di" bpmnElement="Participant_Vertical_With_Lanes" isHorizontal="false"> | ||
<dc:Bounds x="80" y="160" width="370" height="600" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Lane_Vertical_3_di" bpmnElement="Lane_Vertical_3" isHorizontal="false"> | ||
<dc:Bounds x="366" y="190" width="84" height="570" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Lane_Vertical_With_Sub_Lane_di" bpmnElement="Lane_Vertical_With_Sub_Lane" isHorizontal="false"> | ||
<dc:Bounds x="163" y="190" width="203" height="570" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="SubLane_Vertical_2_di" bpmnElement="SubLane_Vertical_2" isHorizontal="false"> | ||
<dc:Bounds x="246" y="220" width="120" height="540" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="SubLane_Vertical_1_di" bpmnElement="SubLane_Vertical_1" isHorizontal="false"> | ||
<dc:Bounds x="163" y="220" width="83" height="540" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Lane_Vertical_1_di" bpmnElement="Lane_Vertical_1" isHorizontal="false"> | ||
<dc:Bounds x="80" y="190" width="83" height="570" /> | ||
</bpmndi:BPMNShape> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for adding model tests for both vertical pool and lanes