@cas-smartdesign/relation
v3.2.0
Published
A element that is able to visualize a relation between two objects, considering the cardinality and a description
Downloads
226
Readme
@cas-smartdesign/relation
A custom element that is able to visualize a relation between two objects, considering the cardinality and a description
Attributes
- direction
- BIDIRECTIONAL ----
- SOURCE_TO_TARGET --->
- TARGET_TO_SOURCE <---
Custom css properties
- --sd-relation-border-color
- Specifies the color of the borders that are used in the relation element
- --sd-relation-font-family
- Specifies the font-family of the relation element
- --sd-relation-outer-min-width
- Specifies the min-width of the outer source and target wrapper
- --sd-relation-inner-min-width
- Specifies the min-width of the inner description wrapper
Layout
There are min-widhts defined for that element, that are necessary to guarantee the correct visualization
- Source and target wrapper - Default 128px
- Relation wrapper - Default 240px
Note that these values can be adjusted with the custom css properties above
---------- ---------- | |---------------| | ---------- ---------- 128px 240px 128px
