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[draw] - draws a graph
Calling Sequence
draw(G)
draw(Concentric(L), G)
draw(Linear(L), G)
Parameters
G
-
graph or network
L
sequence of disjoint lists of vertices
Description
Important: The networks package has been deprecated. Use the superseding commands GraphTheory[DrawGraph] and GraphTheory[DrawNetwork] instead.
This routine is used to provide a visual display of the edges and vertices of a graph.
If no vertex partition is specified with the Linear or Concentric options, all vertices are drawn at equal intervals around a circle.
The Linear option draws the vertex groups specified by the lists in L in lines.
The Concentric option draws the vertex groups as specified by lists in L in concentric circles, with the first group in L forming the innermost circle.
Vertices not included in one of the lists in L are formed into a last group.
The method of drawing a specific graph can be specified by assigning a plotting procedure, as in the statement G(_Draw) := proc(G) draw(Concentric([6, 8, 10, 7, 9])) end proc. These procedures can invoke the draw() command with specific arguments, or build an appropriate PLOT data structure directly. An example of such a procedure can be found associated with the Petersen graph.
This routine is normally loaded by using the command with(networks), but it may also be referenced using the full name networks[draw](...).
Examples
See Also
GraphTheory, GraphTheory[DrawGraph], GraphTheory[DrawNetwork], networks(deprecated)[show], with
Download Help Document