How can I create a model with different input and output ports.
For example:
Inputs ports - triangles
Output ports - circles
How can I create a model with different input and output ports.
For example:
Inputs ports - triangles
Output ports - circles
I have figured that out, if anyone interested
I am using <path class="port-body"/>
and setting different d
paths when creating a new cell
:
// ...
'.inPorts .port-shape': {
d: pathForInputPort
},
'.outPorts .port-shape': {
d: pathForOutputPort
}
// ...
`