Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(context): Restrict port collection by diagram type #51

Merged
merged 12 commits into from
Oct 20, 2023

Conversation

ewuerger
Copy link
Member

@ewuerger ewuerger commented Aug 23, 2023

Before there was only a generic set of attribute names for ports, which
lead to physical ports (PP) in the context. These are only in the
stylesheet for certain diagrams (e.g. PAB). This commit restricts the
used port attribute names from the diagram type.

@ewuerger ewuerger requested a review from vik378 as a code owner August 23, 2023 11:53
@ewuerger ewuerger force-pushed the remove-unstyled-ports branch from b928d3e to 46bd596 Compare August 23, 2023 11:53
@ewuerger ewuerger self-assigned this Aug 23, 2023
@ewuerger ewuerger requested a review from Wuestengecko August 23, 2023 11:54
@ewuerger ewuerger added the bug Something isn't working label Aug 23, 2023
@Wuestengecko
Copy link
Member

From the commit description:

Solves #50

This doesn't work, the right keyword is "Resolves". Note how in the issue it says "... added a commit that referenced this issue..." and not "that will close this issue".

@ewuerger ewuerger force-pushed the remove-unstyled-ports branch from ef85787 to 88ec9c0 Compare October 20, 2023 09:35
ewuerger and others added 11 commits October 20, 2023 11:38
Before there was only a generic set of attribute names for ports, which
lead to physical ports (PP) in the context. These are only in the
stylesheet for certain diagrams (e.g. `PAB`). This commit restricts the
used port attribute names from the diagram type.

Resolves #50
This should never happen, but if `get_elkdata` is used directly it
can happen. The default collector (connection with ports) is used.
Also switch to the pre-commit black mirror, which runs about 2x faster.
Also partitioning is now parametrized and can be controlled via render
parameters.
- Rename attribute to just `tree_diagram`
- Remove the `LAYOUT_OPTIONS` global dict
- Add controlability of `edgeLabels.sideSelection`
@ewuerger ewuerger force-pushed the remove-unstyled-ports branch from 88ec9c0 to c9d1991 Compare October 20, 2023 09:38
@ewuerger ewuerger merged commit ef18d23 into main Oct 20, 2023
7 checks passed
@ewuerger ewuerger deleted the remove-unstyled-ports branch October 20, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants