Open Stephanevg opened 5 years ago
splines='ortho' allows to specifiy that the edges have a straight line style, instead of a curved one:
in https://github.com/Stephanevg/PSClassUtils/blob/Feature_Composition/PSClassUtils/Functions/Private/Out-CUPSGraph.ps1
when setting:
$Graph = Graph -ScriptBlock {
(No attributes are added) we have the correct result (but with 'curved' lines)
$Graph = Graph -Attributes @{splines='ortho'} -ScriptBlock {
Attributes @{splines='ortho'} is added
@{splines='ortho'}
Generates the following graph:
The issue, is that without splines=ortho the graph looks really messy when there are a lot of edges involved.
splines='ortho' allows to specifiy that the edges have a straight line style, instead of a curved one:
in https://github.com/Stephanevg/PSClassUtils/blob/Feature_Composition/PSClassUtils/Functions/Private/Out-CUPSGraph.ps1
when setting:
(No attributes are added) we have the correct result (but with 'curved' lines)
Attributes
@{splines='ortho'}
is addedGenerates the following graph:
The issue, is that without splines=ortho the graph looks really messy when there are a lot of edges involved.