Skip to content

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jul 23, 2024

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Issue Number: fixes #3381

What is the new behavior?

A special type of dependency can be used in C4 models, where the technology can be specified.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Also fixed how item attributes are fetched, so now the [children=""] expression in our CSS works again.

image

@github-actions github-actions bot added the python Pull requests that update Python code label Jul 23, 2024
The item value should be returned if it's not None, in case
the value does not exist on the subject element.
@amolenaar amolenaar requested a review from danyeaw July 24, 2024 13:12
@amolenaar amolenaar changed the title Add a special C4 Dependency with a technilogy field Add a special C4 Dependency with a technology field Jul 24, 2024
@danyeaw danyeaw added feature A new feature and removed python Pull requests that update Python code labels Jul 25, 2024
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amolenaar, this is a nice addtion!

@danyeaw danyeaw merged commit 5960f67 into main Jul 25, 2024
20 checks passed
@danyeaw danyeaw deleted the c4-dependency branch July 25, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support C4 technology attribute on dependency graphs
2 participants