====== BigObject Visual::PolytopeGraph ====== //from application [[..:polytope|polytope]]//\\ \\ Visualization of the graph of a polyhedron. ===== Methods ===== ==== no category ==== {{anchor:directed_graph:}} ? **''DIRECTED_GRAPH([[..:polytope:LinearProgram |LinearProgram]] lp)''** :: Show the growth direction of a linear objective function via arrowed edges. ? Parameters: :: ''[[..:polytope:LinearProgram |LinearProgram]]'' ''lp'': a LinearProgram object attached to the polytope ? Returns: :''[[..:polytope:Visual_PolytopeGraph |Visual::PolytopeGraph]]'' ---- {{anchor:edge_colors:}} ? **''EDGE_COLORS()''** :: Produce an edge coloring of a bounded graph from local data in the Hasse diagram. ? Returns: :''[[..:polytope:Visual_PolytopeGraph |Visual::PolytopeGraph]]'' ---- {{anchor:min_max_face:}} ? **''MIN_MAX_FACE([[..:polytope:LinearProgram |LinearProgram]] lp)''** :: Illustrate the behavior of a linear objective function on the polytope. The vertices belonging to ''[[..:polytope:LinearProgram#MINIMAL_FACE |MINIMAL_FACE]]'' and ''[[..:polytope:LinearProgram#MAXIMAL_FACE |MAXIMAL_FACE]]'' are drawn in distinct colors The spring embedder applies an additional force, which tries to arrange the nodes in the z-axis direction corresponding to the objective function values. ? Parameters: :: ''[[..:polytope:LinearProgram |LinearProgram]]'' ''lp'': a LinearProgram object attached to the polytope ? Options: : :: ''[[..:common#Color |Color]]'' ''min'': minimal face decoration (default: yellow nodes) :: ''[[..:common#Color |Color]]'' ''max'': maximal face decoration (default: red nodes) ? Returns: :''[[..:polytope:Visual_PolytopeGraph |Visual::PolytopeGraph]]'' ---- {{anchor:vertex_colors:}} ? **''VERTEX_COLORS([[..:polytope:LinearProgram |LinearProgram]] lp)''** :: Illustrate the behavior of a linear objective function on the polytope. Color the nodes according to the value the objective function takes on the vertices. The spring embedder applies an additional force, which tries to arrange the nodes in the z-axis direction corresponding to the objective function values. ? Parameters: :: ''[[..:polytope:LinearProgram |LinearProgram]]'' ''lp'': a LinearProgram object attached to the polytope. ? Options: : :: ''[[..:common#Color |Color]]'' ''min'': minimal face color (default: yellow) :: ''[[..:common#Color |Color]]'' ''max'': maximal face color (default: red) ? Returns: :''[[..:polytope:Visual_PolytopeGraph |Visual::PolytopeGraph]]'' ----