-
Notifications
You must be signed in to change notification settings - Fork 9
Add ooaofgraphics to schema #48
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
Conversation
Hmm, why is this needed? |
@john-tornblom I want to use pyxtuml to do some model upgrade tasks. The flow would be:
I don't want to have to re-layout my diagrams after upgrade. |
By the way, the majority of changes I have made to this repository are changes in the |
Yea, that makes sense, I initially had a pyoal package, but merged that with pyxtuml for convenience (since no other action language was supported by bridgepoint at that time). I would wait until we have a candidate python prebuilder, e.g. MASL. Its difficult to design a good API with only one API user... |
Regarding ooaofgraphics. I wonder if this will impact performance or not, and if the graphics parameters introduced by this PR are required or optional? For example, If I have handcrafted instances without graphics, would that still be possible to execute in the oal interpreter? |
I'll do some performance tests. Note that the change to the usage here is in the schema generator itself and not in prebuild. If you tried to load/parse a model without graphical instances, it would load the schema from |
Ahh, sorry, only schema gen, I thought it was in the prebuilder (reading of my phone). I withdraw that comment :) |
Regarding performance, there is functionally no difference. I did a back to back test on a large model and saw no degradation of performance. But now that I'm thinking about this, I realized something that makes me think I should withdraw this PR... Including graphics in the BridgePoint schema might at some point make sense, but at the moment I think it's completely superfluous so I am going to close the PR. |
Ah yes, instances of unknown classes will be persisted, but attributes of such instances are 'anonymous'. |
No description provided.