Skip to content

Commit

Permalink
Merge pull request #91 from scrthq/patch-1
Browse files Browse the repository at this point in the history
added pipe to pipe example
  • Loading branch information
KevinMarquette committed Jan 22, 2019
2 parents e74bcb9 + 9439046 commit 717f44f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Command-Graph.md
Expand Up @@ -38,7 +38,7 @@ The other thing we can do is pipe it directly to the export function to get our

graph "myGraph" {
edge start,middle,end
} Export-PSGraph -DestinationPath $path
} | Export-PSGraph -DestinationPath $path

## Creative use of scriptblocks
Don't forget that the body of the graph is a Powershell script block. You can use regular Powershell inside it if you need to.
Expand All @@ -63,4 +63,4 @@ Positional attributes also work.

graph g @{label='my graph'} {
edge a,b,c,d,aS
}
}

0 comments on commit 717f44f

Please sign in to comment.