LinkageDesigner Package Paclet Symbol See Also »| More About »

# MakeLinkageGraph

 MakeLinkageGraph[linkage, f] returns a non-oriented graph object of linkage LinkageData and fills up the f link name mapping function.
• MakeLinkageGraph creates a Graph object.
• From Mathematica 8.0 MakeLinkageGraph returns the standard Graph objects instead of using the graph object of Combinatorica package.
• The ordered pairs of the graph are the elements of the \$LDStructure record of linkage.
• The vertices of the graph are the links of the linkage.
• The edges in the graph are the kinematic pairs (joints) of the linkage.
• MakeLinkageGraph accepts all option of Graph function
• If the closing constraints are not included into the resulted graph is the spanning tree of the complete graph.
• The following main options can be specified
 IncludeClosingConstraints True loop closing kinematic pair to display or not EdgeLabels Automatic Name of the edges VertexLabels Automatic Name of the vertices
Load the LinkageDesigner package.
This loads pre-defined LinkageData object of the crank-slider mechanism
 Out[2]=
This creates the complete graph object of the crank-slider mechanism, which contains also the loop closing kinematic pair
 Out[3]=
This creates the spanning tree of the crank-slider mechanism, which does not contains the loop closing kinematic pair
 Out[4]=
The mapping of the vertex integers and the corresponding link name is defined with g1 mapping function.
 Out[5]//TableForm=
 Out[6]=
 Out[7]=
The g1 mapping function stores useful Information about the graph, which could be used to enhance the visualization.
 Out[8]=
 Out[9]=
 Out[10]=
Plot the complete graph of the crank-slider mechanism with the link name vertex labels.
 Out[11]=
Highlight the cut set of the graph
 Out[12]=
Plot the spanning tree of the crank-slider mechanism's graph with the link name vertex labels.
 Out[13]=