diff --git a/apps/editor/docs/associations.md b/apps/editor/docs/associations.md index 8517b61..75b0c4d 100644 --- a/apps/editor/docs/associations.md +++ b/apps/editor/docs/associations.md @@ -13,7 +13,7 @@ How the editor and server handle a framework's associations: what gets imported, | **Owner** (source) | The framework whose associations an alignment framework holds. An alignment framework always belongs to exactly one owner. | | **External association** | An association from one of a framework's items to a node in a *different* framework. It can be stored inline or in an alignment framework. | | **Hosted** / **remote** | Whether the framework an association points into is on this OpenCASE server (hosted) or not (remote). This is about where the destination lives, not where the association is stored. | -| **Self alignment** | An association between two items of the *same* framework that the author drew in the Tree View (not `isChildOf`). | +| **Self alignment** | A non-hierarchical association between two items of the *same* framework (not `isChildOf` or `isPartOf`), such as `precedes` from one item to another. | | **Structure** | The `isChildOf` associations that make up a framework's tree. They are always inline and are never treated as alignments. | "Inline / alignment framework" describes **where an association is stored**. "Hosted / remote" describes **where its destination lives**. The two are independent: an inline association can point at a hosted or a remote framework. @@ -121,6 +121,12 @@ The right-hand panel lists **Associated Frameworks**. Each entry is a target the The view also applies the edits made in this session (`applyInlineAlignmentEdits`), so it shows the associations as they'll be saved. +### Self alignments + +`selfAlignmentsOf(framework)` picks the inline associations between two of the framework's own items, with the same rules (no `isChildOf`/`isPartOf`, no links to a CFDocument, no non-CASE targets). When there are any, the framework is listed as its own target, `
No associations from this item yet.
+ ) : ( +This framework keeps its associations to items on this server in alignment frameworks. Those are shown and added in the Tree View.
+ ) : null} +Loading framework…
+ ) : null} + + {error ?{error}
: null} +