6161 Commits

Author SHA1 Message Date
Dan Yeaw
00c803a39c
Add example Figure 2.12
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:44 -04:00
Dan Yeaw
f7e3232de9
Add elements for AbstractOperationalSituation and OperationalSituation
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
74392c3643
Add STPA Figure 2.9 to example model
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
f550b3a321
Fix STPA modeling elements can't be loaded from saved model
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
934e642ed8
Add generalization relationship to STPA toolbox
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
be4ae4e55a
Implement Situation element support
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
a592d3cf7e
Add LossItem representation
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:43 -04:00
Dan Yeaw
22fc8a7c5d
Fix AnySituation wasn't of type Situation
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:42 -04:00
Dan Yeaw
760d026505
Add initial STPA tool definition
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:42 -04:00
Dan Yeaw
8906c8b72a
Add initial STPA toolbar icons
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:42 -04:00
Dan Yeaw
37a6fa03a9
Add support for generating profiles from SysML
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:42 -04:00
Dan Yeaw
a1155c5550
Generate updated RAAML data model
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:42 -04:00
Dan Yeaw
14e59872cd
Add STPA profile in to main RAAML profile
Signed-off-by: Dan Yeaw <dan@yeaw.me>
2021-06-11 14:42:41 -04:00
allcontributors[bot]
2104ce12b1
docs: add artscoop as a contributor for code (#859)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-06-11 14:36:46 -04:00
dependabot[bot]
3929ee4aef
Bump black from 21.5b2 to 21.6b0 (#858)
Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 09:07:56 -04:00
dependabot[bot]
4f96627a23
Bump mypy from 0.901 to 0.902 (#857)
Bumps [mypy](https://github.com/python/mypy) from 0.901 to 0.902.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.901...v0.902)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 06:53:42 -04:00
Arjan Molenaar
961c5c316e
Merge pull request #856 from gaphor/dependabot/pip/mypy-0.901 2021-06-09 23:19:53 +02:00
dependabot[bot]
e1ed787a05
Bump mypy from 0.812 to 0.901
Bumps [mypy](https://github.com/python/mypy) from 0.812 to 0.901.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.812...v0.901)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 05:17:08 +00:00
Dan Yeaw
a069f10b59
Merge pull request #851 from gaphor/diagram-items-in-element-factory
Diagram items in element factory
2021-06-08 21:02:11 -04:00
Arjan Molenaar
e33001398d
Update ports when loading ExecutionSpecifications
so connections are made properly.

Fixes #725.
2021-06-07 23:34:40 +02:00
Arjan Molenaar
5ec9b1cf1f
Load matrxi and parent so that matrix_i2c is up to date
matrix_i2c needs to be up to date when handles are connected
2021-06-07 17:04:26 +02:00
dependabot[bot]
9c7434c418
Bump importlib-metadata from 4.4.0 to 4.5.0 in /docs (#854)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-06 18:42:43 -04:00
dependabot[bot]
df2c6bd6a9
Bump importlib-metadata from 4.4.0 to 4.5.0 (#853)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-06 18:42:21 -04:00
dependabot[bot]
6dcfc9ea30
Bump pycairo from 1.20.0 to 1.20.1 (#852)
Bumps [pycairo](https://github.com/ldo/qahirah) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/ldo/qahirah/releases)
- [Commits](https://github.com/ldo/qahirah/commits)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-06 18:38:56 -04: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
77a6df30bc
Fix part of loading issue 2021-06-04 23:22:35 +02:00
Arjan Molenaar
00b8fb66be
Remove obsolete TODO 2021-06-04 07:17:18 +02:00
Arjan Molenaar
87db695266
Remove ModelingLanguage.lookup_diagram_item
No longer needed since diagram items are treated the same as model
elements.
2021-06-03 20:41:31 +02:00
Arjan Molenaar
6d3b51874c
ElementDeleted is only emited from ElementFactory
Added some code to deal with the mandatory diagram for presentation
items.
2021-06-02 21:13:33 +02:00
Arjan Molenaar
302a28b753
Clean model verify code 2021-06-02 21:13:32 +02:00
Arjan Molenaar
3466c2f2d2
Move presentation creation to element factory
Alongside all other model elements
2021-06-02 21:13:31 +02:00
Dan Yeaw
bee26ddd32
Merge pull request #844 from gaphor/organize-element-events
Organize element events
2021-06-02 06:42:57 -04:00
dependabot[bot]
24805538e9
Merge pull request #850
* Bump pytest-cov from 2.12.0 to 2.12.1
2021-06-02 06:26:16 -04:00
pre-commit-ci[bot]
f0f4f6b21f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-06-01 19:34:44 +00:00
Arjan Molenaar
47ab728ac8
Clean up undomanager code 2021-06-01 21:32:31 +02:00
Arjan Molenaar
a460d739ac
Remove DiagramItemCreated/Deleted events 2021-06-01 21:26:17 +02:00
Sourcery AI
2d22f6508c
'Refactored by Sourcery' 2021-06-01 21:26:17 +02:00
Arjan Molenaar
4e6814ef52
Merge DiagramItem- and Element- events 2021-06-01 21:26:16 +02:00
Arjan Molenaar
31e9fef48a
DiagramItemCreated/Deleted now inherits from ElementCreated/Deleted 2021-06-01 21:26:15 +02:00
Arjan Molenaar
0b925216f5
Move create event to element_factory.create_as 2021-06-01 21:26:14 +02:00
dependabot[bot]
99444aec41
Bump black from 21.5b1 to 21.5b2 (#848)
Bumps [black](https://github.com/psf/black) from 21.5b1 to 21.5b2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 06:17:48 -04:00
dependabot[bot]
a816c42ac8
Bump importlib-metadata from 4.3.1 to 4.4.0 in /docs (#849)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.3.1...v4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 06:17:02 -04:00
dependabot[bot]
1fd3cf0ec5
Bump importlib-metadata from 4.3.1 to 4.4.0 (#847)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.3.1...v4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 06:16:42 -04:00
Dan Yeaw
9fbe09fc28
Merge pull request #827 from gaphor/undo-diagram-delete
Fix delete and undo of a diagram
2021-05-31 19:54:07 -04:00
pre-commit-ci[bot]
3dc8f44208
[pre-commit.ci] pre-commit autoupdate (#846)
updates:
- [github.com/psf/black: 21.5b1 → 21.5b2](https://github.com/psf/black/compare/21.5b1...21.5b2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-31 19:48:13 -04:00
Arjan Molenaar
7f2464203a
Merge pull request #843 from gaphor/dependabot/pip/docs/importlib-metadata-4.3.1
Bump importlib-metadata from 4.3.0 to 4.3.1 in /docs
2021-05-31 11:56:08 +02:00
Arjan Molenaar
434965448e
Merge pull request #842 from gaphor/dependabot/pip/importlib-metadata-4.3.1
Bump importlib-metadata from 4.3.0 to 4.3.1
2021-05-31 11:55:57 +02:00
dependabot[bot]
dfc2d8547e
Bump importlib-metadata from 4.3.0 to 4.3.1 in /docs
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 06:14:43 +00:00
dependabot[bot]
db2f02d564
Bump importlib-metadata from 4.3.0 to 4.3.1
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.3.0...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 06:00:35 +00:00