referring to the custom-elements example, I have Extended the CustomContextPadProvider with a second Option to connect elements to each other.
The first connection option should render a solid red connection and the second option should render a dashed blue connection line.
However, in the CustomElementFactory.create function, the elementType-parameter is always ‘custom:connection’.
But either there, I want to decide between ‘solid red’ and ‘dashed blue’, or in the CustomRenderer.drawCustomConnection function.
Can someone help me, how I can pass Options like ‘solid red’ or ‘dashed blue’ from the ContexPadProvider to the ElementFactory or Renderer?
Thanks a lot.