Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
networks[draw3d] - draw an undirected connected graph in 3-D
Calling Sequence
draw3d(G, opts )
Parameters
G
-
undirected graph
opts
(optional) plot options; see plot3d[option]
Description
Important: The networks package has been deprecated. Use the superseding package GraphTheory instead.
The draw3d(G, opts) routine draws an undirected connected graph in three dimensions in such a way that structure and symmetry in the graph is revealed. The graph G is input as a GRAPH data type as created in the networks package. The output is a three dimensional plot of labeled points with lines connecting them. The points correspond to the vertices in the graph and the lines correspond to the edges in the graph.
The location of the vertices of the graph is determined as follows. Let be the adjacency matrix of G and let , and be three eigenvectors of with corresponding second, third, and fourth largest eigenvalue in absolute value. Then the (x,y,z) coordinates of the ith vertex of G is ().
Sometimes other symmetries in the graph can be seen by using other eigenvectors. If the optional argument is specified, where e1, e2, and e3 are vertex numbers (integers from 1 through the number of vertices), the eigenvectors corresponding to the eigenvalues of these relative magnitudes are used.
If the graph is not connected, you can draw the connected components separately. The last example below shows how to do this.
Remaining arguments are interpreted as options which are specified as equations of the form option = value. The remaining options are the same as those available for the plot3d command. For more information, see plot3d[option].
The algorithm used is the same as that described for plots[graphplot3d(deprecated)]. The networks[draw3d] and plots[graphplot3d] commands are identical except they accept different forms of graph input.
Note: The plots[graphplot3d(deprecated)] command has been superseded by GraphTheory[DrawGraph].
Examples
An example of a graph that is not connected.
The number of connected components:
See Also
GraphTheory, GraphTheory[DrawGraph], GraphTheory[DrawNetwork], networks(deprecated)[draw], networks(deprecated)[induce], plot3d[option], plots[graphplot3d(deprecated)]
Download Help Document