Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
GraphTheory[DrawPlanar] - draw a planar graph stored in the Graph data structure
Calling Sequence
DrawPlanar(G)
Parameters
G
-
graph
Description
DrawPlanar displays the vertices and edges of a graph G as a Maple plot.
The algorithm used is Tutte's spring (or rubber) method. The vertices are placed on a face on a regular polygon, and the positions of the rest of the vertices are solved for such that each vertex is placed in the center of gravity of its neighbors.
Tutte's spring method works only for 3-connected graphs, so when the input graph is not 3-connected, strategies are employed to find a similar 3-connected graph (for example, 2-connected vertices are absorbed into the neighboring vertices).
The algorithm also finds a second drawing based on the first and chooses the one with the least "energy" for output.
Use of DrawPlanar can also be specified by a call to DrawGraph with option style=planar.
Examples
See Also
DrawGraph
Download Help Document