Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to control connections/disconnections?

CONTROL disconnections
0
Posted

How to control connections/disconnections?

0

Abstract: JGraph offers three levels of granularity: Global: Use JGraph.setConnectable(boolean) and JGraph.setDisconnectable (boolean) Per Edge, Vertex or Port: Use GraphConstants.setConnectable(Map, boolean) and JGraph.setDisconnectable(Map, boolean) Custom: Override the default graph model’s acceptsSource or acceptsTarget method for more fine-grained control The acceptsSource and acceptsTarget methods are typically called with an Edge, Port pair, where…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123