Skip to content
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

Move core modelling concepts to a separate package #295

Merged
merged 15 commits into from Apr 10, 2020
Merged

Conversation

amolenaar
Copy link
Member

PR Type

What kind of change does this PR introduce?

Part of #138.

What is the current behavior?

Evenrything is in gaphor.UML, which makes for no logical separation when extending Gaphor with other modelling types.

What is the new behavior?

  • Move core modelling functionality to gaphor.core
    • Element
    • Presentation
    • ElementFactory
  • Find out what to do with Diagram (it's a NamedElement)

Does this PR introduce a breaking change?

  • Yes
  • No

@danyeaw danyeaw mentioned this pull request Apr 8, 2020
3 tasks
@amolenaar amolenaar changed the title WIP: Move core modelling concepts to a separate package Move core modelling concepts to a separate package Apr 9, 2020
@amolenaar amolenaar requested a review from danyeaw April 9, 2020 21:27
@amolenaar
Copy link
Member Author

I think this is done, at least for the model.

utils/model/build_core.py Outdated Show resolved Hide resolved
utils/model/build_core.py Outdated Show resolved Hide resolved
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really really like this. I think this was a great idea to move some of the abstract elements and other core functionality out of the UML package 👍

@danyeaw
Copy link
Member

danyeaw commented Apr 10, 2020

@amolenaar Windows builds are failing. I submitted an issue to help try to resolve it.

@danyeaw danyeaw merged commit 4eaf0c8 into master Apr 10, 2020
@danyeaw danyeaw deleted the separate-model-core branch April 10, 2020 13:21
@danyeaw danyeaw added this to the 2.0 milestone Apr 10, 2020
@danyeaw danyeaw added the chore Maintenance related PR label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants