Connections and Arrows Not Displaying Correctly #125
-
I'm trying to connect nodes with simple lines. Currently, I have straight lines with circles at the ends, but I want the connections to look like the ones in the Foblex Call Center example My current code: Both fType and fBehavior are set correctly, just like in the example. Any ideas on what I might be missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
you didn't specify the fill property on the svg path |
Beta Was this translation helpful? Give feedback.
-
https://angular.dev/guide/components/styling#ng-deep Angular uses style encapsulation by default, which limits the scope of CSS within a component. This prevents styles from accidentally affecting other components, but can create complications when you need to change the styles of child components or elements created by third-party libraries. To overcome this encapsulation, the ::ng-deep pseudo-class is used. Using ::ng-deep allows you to “break through” the encapsulation boundaries and apply styles to child components or deeper nested elements.
|
Beta Was this translation helpful? Give feedback.
https://angular.dev/guide/components/styling#ng-deep
Angular uses style encapsulation by default, which limits the scope of CSS within a component. This prevents styles from accidentally affecting other components, but can create complications when you need to change the styles of child components or elements created by third-party libraries.
To overcome this encapsulation, the ::ng-deep pseudo-class is used. Using ::ng-deep allows you to “break through” the encapsulation boundaries and apply styles to child components or deeper nested elements.