Show EA's own diagram images, and EA's arrows in neighbourhoods (1.2.0) #14
Loading…
Reference in a new issue
No description provided.
Delete branch "ea-diagrams"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Requested by Moof · project thread
Moof found that the Graphviz layouts of the model's diagrams fall well short of EA's, and lack details such as arrow types. This PR switches to EA's own images wherever they exist.
Changes
directionin the XMI, which is now kept in the model data), and a diamond on the whole of an aggregation, filled for a composition.scripts/update_transmodel_model.pyreads EA's image and image map for every diagram. The bundled SVGs shrink from 5.5 MB to 2.6 MB, and the model data grows from 759 KB to 912 KB with the extra image maps.Checks
uv run pytest: 61 passed. New assertions cover navigability arrows and the image map on the FO Stop Place MODEL diagram page.nxbuild with--transmodel-pagesgives a 45 MBtransmodel/section (63 MB before), and the 111,103 internal links checked have no broken targets.This only touches the Transmodel diagram code,
scripts/update_transmodel_model.py, the bundled data, two templates, the docs and the version. Rebased onto main after #13 (1.1.0) merged; 63 tests pass.Second round (Moof's feedback)
Package::prefixes for classes from other packages,+rolelabels, and orthogonal lines instead of curves.Sidebar (Moof's pick from the mockups)
assets/transmodel-nav.js(117 KB), and each package's contents are built when it's first opened. A link at the top goes back to the schema's elements and types.🤖 Generated with Claude Code
https://claude.ai/code/session_019EUw76i961mxumC6sVRdBV
2bd0ca9ac9to6d44334714