Hello,
I can’t find the way to get all the Signal components defined.
I tried to get the signal components:
var elements = elementRegistry.filter(function(element) {
return is(element, 'bpmn:Signal');
});
```
Something is wrong because I inspected the elementRegistry but except the signal components, all are showed.
My bpmn json file is this:
```
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn:process id="Process_1" isExecutable="false">
<bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1cv6vqj">
<bpmn:signalEventDefinition signalRef="Signal_0a19j3s" />
</bpmn:intermediateThrowEvent>
</bpmn:process>
<bpmn:signal id="Signal_06yamxn" name="aaa" />
<bpmn:signal id="Signal_0gkq9ht" name="bbb" />
<bpmn:signal id="Signal_0og5kc1" name="ccc" />
<bpmn:signal id="Signal_1lo07vs" name="ddd" />
<bpmn:signal id="Signal_1cqhfhw" name="eee" />
<bpmn:signal id="Signal_0a19j3s" name="fff" />
<bpmn:signal id="Signal_0c8u6ci" name="ggg" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="IntermediateThrowEvent_1cv6vqj_di" bpmnElement="IntermediateThrowEvent_1cv6vqj">
<dc:Bounds x="416" y="207" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="389" y="243" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
```