Closed wkwong-ribose closed 3 years ago
@wkwong-ribose can you help link the original file for debugging? Thanks.
Here is the original file copied from the LutaML website.
diagram MyView { title 'My diagram' class Customer { name: String[0..*] -phone: String } class Order { deliveryLocation: Location number: Integer[0..1] } class Location { city address } class NormalOrder { deliveryLocation: Location number: Integer[0..1] } class FastDeliveryOrder { deliveryLocation: Location number: Integer[0..1] } association { owner NormalOrder member Order } association { owner FastDeliveryOrder member Order } association { member_type direct owner Order member Customer } association { member_type aggregation owner Location member Order } }
Thanks, @w00lf can you have a look? Thanks.
Going to move this to lutaml-uml since it is more relevant there.
Affects all metanorma model repositories.
@ronaldtse @wkwong-ribose fixed in 0.7.3
@ronaldtse @opoudjis can we close this one?
@wkwong-ribose can you confirm? Thanks.
Here is the original file copied from the LutaML website.
diagram MyView { title 'My diagram' class Customer { name: String[0..*] -phone: String } class Order { deliveryLocation: Location number: Integer[0..1] } class Location { city address } class NormalOrder { deliveryLocation: Location number: Integer[0..1] } class FastDeliveryOrder { deliveryLocation: Location number: Integer[0..1] } association { owner NormalOrder member Order } association { owner FastDeliveryOrder member Order } association { member_type direct owner Order member Customer } association { member_type aggregation owner Location member Order } }
Using the input here, it does not generate anything (0 byte output). I recall that there is some change on the syntax. Is it related? I am using the lutaml program in the exe folder directly
Here is the original file copied from the LutaML website. diagram MyView { title 'My diagram' class Customer { name: String[0..*] -phone: String } class Order { deliveryLocation: Location number: Integer[0..1] } class Location { city address } class NormalOrder { deliveryLocation: Location number: Integer[0..1] } class FastDeliveryOrder { deliveryLocation: Location number: Integer[0..1] } association { owner NormalOrder member Order } association { owner FastDeliveryOrder member Order } association { member_type direct owner Order member Customer } association { member_type aggregation owner Location member Order } }
Using the input here, it does not generate anything (0 byte output). I recall that there is some change on the syntax. Is it related? I am using the lutaml program in the exe folder directly
hi there, @wkwong-ribose , what version of dot are you using? I tried to compile it myself and also got an error, upgrade from 2.47.2 -> 2.47.3 solved the issue and its worked. Here is an issue on graphviz forum: https://forum.graphviz.org/t/assert-sz-2-in-convertsptoroute/689/2
Thanks @w00lf. Upgrading to 2.47.3 solved the problem.