Commit Graph

22 Commits

Author SHA1 Message Date
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