In my graph editor program i have created a blocks(mxcells) with input and output port, It looks like
I want to set design rules as, While creating edge between ports.
- Out put port should connected to input port only.
- Input port should not connected to another input port..etc...
How can i set these rules? Is there any method in JGraphX for Design Rule Check(DRC)?