Hi
Ed,
Yes,
unfortunately this example suffers from the current issue of
proper domain identification (homogenous domains). However,
I fixed the Schedule model manually. So if you use the
UpperToLowerSchedule.xmi in my branch it should work.
The
other caveat I forgot to mention is that in fb90 I am only
testing the graph generation, so I am not running the
complete MTC and hence after graph generation the test will
fail when trying to assert that all models in the mtc
exists. I could probably create separate test cases for
graph generation, in the form of either only running
mtc.executeQvtsToGraphML(), or running the whole MTC with
the graph generation option on/off.
Regards,
Hi
Just tried fb90. Unfortunately the one testUpperToLower test
that uses it fails with an NPE. The problem is that a
ClassDatum has a null domain and when passed to
public MutiNamedElementKeyImpl(@NonNull NamedElement...
values) {
the internal code barfs on the null.
NB the @NonNull in the declaration is really
public MutiNamedElementKeyImpl(@NonNull NamedElement[]
values) {
and so asserts that the array is non-null with no promises
about the content. Array/List content @NonNull declarations
must wait till we move to Java 8, probably for Mars+1.
Regards
Ed
On 20/04/2015
20:09, Horacio Hoyos Rodriguez wrote:
Hi,
Branch
hhoyos/fb90 has the added functionality for automatic
generation of the dependency graph, currently graph
supported is yEd’s GraphML.
· The
QVT Schedule has a ScheduleToDependecyGraphVisitor which
is responsible for the transformation
· GraphMLBuilder
implements the GraphBuilder, tailored for yEd’s GraphML
format.
· Current
colors, lines, shapes , etc., are specified in
ScheduleToDependecyGraphVisitor and I think I have made it
customizable enough to allow easy personalization (to be
added in the future, e.g. eclipse color options). Current
color selection is based on [1], with the intention to
facilitate easy change between light and dark themed
environments.
Regards,
From: Ed Willink [mailto:ed@xxxxxxxxxxxxx]
Sent: 16 April 2015 12:48
To: Horacio Hoyos Rodriguez
Subject: Re: [Dev] MTCBorker creates GraphML
representations
Hi
On
16/04/2015 12:24, Ed Willink wrote:
It's probably quicker for me to do it.
Give
ewillink/464714 a try.
Regards
Ed
_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev
No virus found
in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5863 / Virus Database: 4331/9581 - Release
Date: 04/20/15