title: Angular 7 Styles are applied only after I press a key example control f12, also it works if the component is at app.module level
body: <p>Angular 7 is not applying styles, unless I press f12. Also the code does work if the component is at the app.module level. Nested module code does not apply the svg styles. I have Angular 7 + d3js + svg</p>
  
  <p>You can take this demo code <a href="https://stackblitz.com/edit/ngx-graph-demo" rel="nofollow noreferrer">https://stackblitz.com/edit/ngx-graph-demo</a>
  and move the code to another module, basically remove from app.module and add it to another module, then display it as a component in app.component.html,by adding the selector.
  I have the following on my component. 
  encapsulation: ViewEncapsulation.None,</p>
  
  <p>I have also tried moving the css outside the component, input index.html or new style.css, but nothing helps.</p>