Commit Graph

1 Commits

Author SHA1 Message Date
Ashish Jain
37bc2fa386 fix: ANTLR parser node data processing - major breakthrough!
- Fixed critical shape data pairing logic in ampersand chains
- Implemented findLastStyledVertexInNode for correct shape data application
- Enhanced recursive shape data collection to traverse nested parse trees
- Fixed 8 failing tests: from 19 to 11 remaining failures
- Pass rate improved from 97.8% to 98.5% (933/947 tests)
- Node data processing now working correctly for complex syntax like:
  n2["label for n2"] & n4@{ label: "label for n4"} & n5@{ label: "label for n5"}

Major technical improvements:
- Shape data now correctly paired with last styled vertex in child node chains
- Recursive collection properly finds embedded shape data contexts
- All multiline string and ampersand chaining tests now passing

Only 11 tests remaining - mostly text processing edge cases and markdown backtick handling!
2025-09-15 16:41:22 +02:00