I want to create two input ports and two output ports, I have tried it in diamond shape as:
this.createPort("input");
this.createPort("input");
this.createPort("output");
this.createPort("output");
but the above code doesn't work as required, it do create ports but here and there, not on the vertices of diamond.So please any body suggest me how to do that.
I have also tried this example : http://draw2d.org/graphiti/jsdoc/#!/example/galerie_shape_analog, ( Restore Bridge example similar to diamond shape ) but that example contains hybrid ports now what I want is Input and Output ports.
So if anybody have any idea then please let me know.Thanks in advance:)