Home JDiagram Forum Buy
Iterations Per Stage
Stages
Initial Temperature
Temperature Scale
Link Length Factor
Crossing Links Cost
Distribution Factor
Node Arrow Dist Factor
Boundary Factor
The AnnealLayout class implements a Simulated Annealing graph layout algorithm that can be used to arrange JDiagram diagrams. Simulated Annealing is a general-purpose optimization method used to solve large-scale combinatorial problems by simulating the process of heating and cooling of metal to achieve freedom from defects. Finding a nice arrangement of a graph is a combinatorial problem that can be reduced to assigning costs to graph configurations and finding the minimum cost configuration. In that case, a cost is assigned to a graph configuration by evaluating different aesthetic criteria such as distance between nodes, length of links and the number of link crossings.