Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
networks[addvertex] - add a vertex or set of vertices to a graph
Calling Sequence
addvertex(v1, G)
addvertex(v1, v2, G)
addvertex(v1, weights=w, G)
addvertex([v1, v2], weights=[w1, w2], G)
Parameters
G
-
graph or network
v1, v2, ..., vn
new vertices for the graph G
w
user supplied weight for a vertex (default 0)
Description
Important: The networks package has been deprecated. Use the superseding command GraphTheory[AddVertex] instead.
This routine adds one or more vertices to a graph. The vertex names used are returned as an expression sequence.
To force addvertex() to use a specific weight for a single vertex use the optional argument (eg. weights=3).
If more than one vertex is to be added, they can be presented as a list or set of vertices. In this case, non-default weights must also be specified as a list of weights as in: addvertex([1, 3], weights=[0, 0], G)
A vertex cannot be a symbol or string beginning with the letter e; these are reserved, by the package, for edge names.
This routine is normally loaded via the command with(networks) but can also be referenced using the full name networks[addvertex](...).
Examples
See Also
GraphTheory, GraphTheory[AddVertex], networks(deprecated)[addedge], networks(deprecated)[vertices], with
Download Help Document