-
Notifications
You must be signed in to change notification settings - Fork 1
New Graph
Andrey Vernigora edited this page Apr 23, 2017
·
3 revisions
Command creates an instance onf a graph object.
New-Graph -Type <PsGraphType> [<CommonParameters>]
Command creates an instance onf a graph object. In order to do that it takse a graph type parameter, which specifies the type of the graph to create.
Returns an instance of a graph of type AdjacencyGraph
PS C:\> New-Graph -Type AdjacencyGraph
The type of a graph. BidirectionalMatrixGraph is not supported
Type: PsGraphType
Parameter Sets: (All)
Aliases:
Accepted values: AdjacencyGraph, BidirectionalGraph, BidirectionalMatrixGraph, UndirectedGraph
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).