documentationfor yFiles for HTML 3.0.0.3

Usages of EdgeRouterCosts

Properties

edgeRouterCostsin EdgeRouterEdgeDescriptorGets or sets the EdgeRouterCosts used for this edge.

Fields

BALANCED_OPTIMIZATIONin EdgeRouterCostsOptimization strategy that balances bends and edge crossings in the edge routes.
EDGE_BENDS_OPTIMIZATIONin EdgeRouterCostsOptimization strategy that minimizes bends in the edge routes.
EDGE_CROSSINGS_OPTIMIZATIONin EdgeRouterCostsOptimization strategy that minimizes edge crossings in the edge routes.
EDGE_LENGTHS_OPTIMIZATIONin EdgeRouterCostsOptimization strategy that minimizes the length of the edge routes.
LOW_QUALITYin EdgeRouterCostsA cost configuration that prefers fast results over quality, so that several constraints can be ignored.

Method Return Values

createCopy ()in EdgeRouterCostsCreates a copy of this EdgeRouterCosts instance.
newInstance ()in EdgeRouterCostsCreates a new instance of EdgeRouterCosts.

Method Parameters

EdgeRouterEdgeDescriptor ()in EdgeRouterEdgeDescriptorCreates a new instance of an EdgeRouterEdgeDescriptor with the default settings.