Commit graph

20 commits

Author SHA1 Message Date
175edb64d9 Class diagram can be rendered as object diagram textual syntax, and parsed back, without information loss 2024-10-03 17:01:13 +02:00
f45872d3f7 Abstract away Object Diagram pattern matching in a function that does all the magic 2024-09-13 12:32:12 +02:00
89b7c83440 Hacked together graph rewriter 2024-09-12 11:04:32 +02:00
f12fd8bd6c Rewriter: deleting elements works 2024-09-11 11:04:44 +02:00
99bcf9a542 MVS adapter: When flattening ModelRefs, prefix the names of all elements in ref'ed models 2024-09-10 13:41:21 +02:00
ae5eaedb4b RAMification + pattern matching: put typing information straight into the Vertices, as a Python attribute (don't put it in separate Vertices+Edges). 2024-09-10 13:18:14 +02:00
700a4d103f and now pattern matching also works with typing information added to the graph 2024-09-06 21:32:03 +02:00
4160a8953e Tweak matcher (compute connected components in advance). Simple pattern matching with RAMification (incl. Python expressions) seems to work. 2024-09-06 21:10:23 +02:00
bed3529676 Add performance comparison between Sten's and Joeri's matcher. Sten's seems to be broken (giving a different match set every time), however. 2024-09-05 11:42:32 +02:00
b4f41cc090 Fix bug in matcher (stopped too early for disconnected patterns) 2024-09-05 10:47:19 +02:00
6752c45cf6 play around with action code in pattern matching 2024-09-04 18:05:26 +02:00
f9049be167 fix bug in matcher 2024-09-04 17:51:45 +02:00
a0ccb3f35d work on my matcher 2024-09-04 17:05:24 +02:00
4b1f61806c ended up rolling my own VF2 variant 2024-09-04 16:47:38 +02:00
3ae35a87d0 pattern matching: convert tabs to spaces 2024-09-04 09:34:26 +02:00
2b22be01ec Object Diagrams: slots work 2024-09-03 14:00:55 +02:00
d2c996f4f7 Turn VF2 matcher into a generator that yields all matches 2024-09-03 12:07:29 +02:00
1320ea29e9 oops 2024-09-03 11:42:32 +02:00
7ece331efb Pattern matching: return all the matches (instead of the first one found) 2024-09-03 11:41:07 +02:00
95a8076a17 Add Sten Vercammen's pattern matching library (ported to Python 3, numpy dependency replaced by standard library) 2024-09-02 15:38:30 +02:00