Skip to content
Snippets Groups Projects
Commit f7598410 authored by squidfunk's avatar squidfunk
Browse files

Fixed attribute styles in entity-relationship diagrams

parent 2e689f06
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,10 @@ a specific domain of knowledge: ...@@ -246,6 +246,10 @@ a specific domain of knowledge:
erDiagram erDiagram
CUSTOMER ||--o{ ORDER : places CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains ORDER ||--|{ LINE-ITEM : contains
LINE-ITEM {
string name
int pricePerUnit
}
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
``` ```
```` ````
...@@ -256,6 +260,10 @@ erDiagram ...@@ -256,6 +260,10 @@ erDiagram
erDiagram erDiagram
CUSTOMER ||--o{ ORDER : places CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains ORDER ||--|{ LINE-ITEM : contains
LINE-ITEM {
string name
int pricePerUnit
}
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
``` ```
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.6df46069.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.1ef2e63d.min.js' | url }}"></script>
{% for path in config.extra_javascript %} {% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}
......
...@@ -262,7 +262,14 @@ defs #statediagram-barbEnd { ...@@ -262,7 +262,14 @@ defs #statediagram-barbEnd {
* Rules: entity-relationship diagrams * Rules: entity-relationship diagrams
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */
/* Entity node */ /* Attribute box */
.attributeBoxEven,
.attributeBoxOdd {
fill: var(--md-mermaid-node-bg-color);
stroke: var(--md-mermaid-node-fg-color);
}
/* Entity node */
.entityBox { .entityBox {
fill: var(--md-mermaid-label-bg-color); fill: var(--md-mermaid-label-bg-color);
stroke: var(--md-mermaid-node-fg-color); stroke: var(--md-mermaid-node-fg-color);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment