Commit Graph

36 Commits

Author SHA1 Message Date
Arjan Molenaar
d408e61318 all-elements example: use activity and state machine
Now all elements are properly grouped.
2024-06-28 08:09:51 +02:00
Arjan Molenaar
cb329b72ed Remove unused test models 2024-05-17 08:33:52 +02:00
Arjan Molenaar
83f25fb583 Add test model for stereotypes 2023-12-26 19:00:18 +01:00
Arjan Molenaar
d4e051f0c7
Make setting orthogonal property not error
Use latest gaphas.
2023-03-28 21:49:35 +02:00
Arjan Molenaar
641133c80a Make attribute loading more resiliant
Loading via the merge editor can result in some unexpected
values (mostly None) when comparing with default values in the
incoming model (default values are not saved).
2023-03-24 15:34:59 +01:00
Arjan Molenaar
90ead56ebd Add script to load manual merge conflict on big file
Uses the RAAML model from #1447 (HARA support).
2023-03-22 13:00:32 +01:00
Arjan Molenaar
e099d6a9f7 Remove old split code
It did not take into account already merged changes.
2023-03-01 13:45:13 +01:00
Arjan Molenaar
d4ebd9521d Allow for reading current or incoming for file with merge conflict
This is a first step. It should allow for manual merging.
2022-12-27 14:25:35 +01:00
Arjan Molenaar
91bf091176 Add model with merge conflict for testing 2022-11-06 15:08:41 +01:00
Arjan Molenaar
1c6efc8503 Add test to load a Gaphor 2.10 model on windows
With non-utf-8 characters.
2022-07-06 23:06:48 +02:00
Dan Yeaw
2f19a373df
Ignore gaphor files for new line check 2022-06-19 16:44:23 -04:00
Dan Yeaw
5be49a9438
Enable trailing whitespace checks 2022-06-19 09:52:06 -04:00
Dan Yeaw
e0ecb677aa
Enable end-of-file-fixer 2022-06-19 09:49:39 -04:00
Arjan Molenaar
79f044eb1b Save top-left handle position for elements
Otherwise the top-left handle position is always (0, 0),

Which results in unexpected visual changes in the model when loaded.

Fixes #1467.
2022-04-21 23:06:46 +02:00
Arjan Molenaar
088ed70756
Update all-elements model 2022-02-13 17:27:20 +01:00
Arjan Molenaar
3ff2f346ba Add information-flow test model for regression testing 2022-01-07 16:18:28 +01:00
Arjan Molenaar
24cc5893a7
Move help after the component 2021-12-30 12:29:22 +01:00
Arjan Molenaar
775691e69a Order Diagram.ownedPresentation
On change in a diagram. This avoid the iteration every time a render is
required.

The order algorithm should only use either the `parent` or `children` property.
If both are used inconsistencies could possibly exist in the hierarchy and
elements may be missing.
2021-10-19 21:02:09 +02:00
Arjan Molenaar
e490c0be6e
Set parent and diagram on canvasitems 2021-06-11 20:14:06 +02:00
Arjan Molenaar
8824820b89
Add interations example
Message items are created first, which can cause weird behavior when the
model is rendered with Gaphor 2.5.
2021-06-05 17:15:05 +02:00
Arjan Molenaar
c6c4c1b5ab
Add all-elements model, saved in v2.5 format 2021-06-05 17:02:48 +02:00
Arjan Molenaar
3466c2f2d2
Move presentation creation to element factory
Alongside all other model elements
2021-06-02 21:13:31 +02:00
Arjan Molenaar
142a167081
Make core model no longer dependent on UML
(except for the derived unions)
2021-05-22 21:30:57 +02:00
Arjan Molenaar
b45ea4d473
Update association ends after loading
Fixes #712.
2021-03-29 21:52:38 +02:00
Arjan Molenaar
9a243dd7c8
Move all-elements model to test-models
So all models used in tests are either in models/ or test-models/
2021-03-13 15:29:47 +01:00
Arjan Molenaar
e49b3d5fc6
Inherit Box and Ellipse from ElementPresentation
Now diagram is set correctly, and it saves some duplicate code.
2021-01-09 21:22:14 +01:00
Arjan Molenaar
574ba56f30
Fix load/save of orthogonal state in lines
Also simple line.
2021-01-09 21:22:13 +01:00
Arjan Molenaar
55ded08cf7
Add decision/fork node example model 2021-01-09 21:19:33 +01:00
Arjan Molenaar
e64897fc2f
Make Presentation.diagram an association
We can now rely on this association being set. We can set a watch on
changes and slowly move the canvas out of our codebase.
2020-12-24 09:41:23 +01:00
Dan Yeaw
9100c814cb
Revert "Add initial test for partition upgrade in version 2.1.0"
This reverts commit 0e9d60cb

Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-28 13:09:43 -05:00
Dan Yeaw
0e9d60cb15
Add initial test for partition upgrade in version 2.1.0
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-25 14:13:26 -05:00
Dan Yeaw
a5fa1568ce
Update action-issue tests with new partitions
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-11-22 21:26:47 -05:00
Arjan Molenaar
c3583d1652 Fix test names 2020-07-21 09:54:01 +02:00
Arjan Molenaar
e440e5315d Fix tests to handle omni-presence of Style sheets 2020-07-13 22:23:17 +02:00
Dan Yeaw
b5b95bb889
Add codegen-extension model, use == to compare int
Signed-off-by: Dan Yeaw <dan@yeaw.me>

fixup! Add codegen-extension model, use == to compare int

Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-05-02 14:03:28 -04:00
Dan Yeaw
ec41f4a9de
Move test models to separate top-level package
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2020-04-13 19:19:46 -04:00