-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control New-DiagramLink arrow width #328
Comments
Cool you could improve my The way I usually deal with "costs" is to use hierarchical diagram. You then tell it the Level you want it on. 0,1,2,3,4,5,6 and so on. This way its much more readable. You could probably control width on non-hierarchical diagram but I am afraid things would get ugly. |
I had a quick look into your new function. Think it gathers too much information when using it in large environments. It takes a long time. Of course it shows quite valuable information. But I would be first intersted in the connections: Then, when selecting a site, the table could show me all subnets related to the site or all DCs responsible for this site. Is it possible to hide / unhide information in the graphic on click? |
I did a quick rewrite of my version of the script to include your data table. It^s not ideal yet, like schedules is not resovled etc, and missing Subnets, but it took few seconds to build instead of, well, your version is still trying to show something ;-)
|
You should read this:
Import-Module .\PSWriteHTML.psd1 -Force
$Processes = Get-Process | Select-Object -First 3 -Property Name, ProcessName, Id, FileVersion, WorkingSet
New-HTML -TitleText 'My Title' -Online -FilePath $PSScriptRoot\Example30-LinkedTableToTable02.html -ShowHTML {
New-HTMLTableOption -DataStore Javascript
New-HTMLSection -Invisible {
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -DataTableID 'RandomID1' {
New-TableEvent -ID 'RandomID2' -SourceColumnID 0 -TargetColumnId 0
New-TableEvent -ID 'RandomID3' -SourceColumnID 0 -TargetColumnId 0
}
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -DataTableID 'RandomID2'
}
}
New-HTMLPanel {
New-HTMLTable -DataTable $Processes -DataTableID 'RandomID3'
}
} |
I played a little bit more around and it now looks quite good. Still I would be happy to be able to have different arrow weights ;-) It is not yet ideal and it doesn't yet fit into your ADEssentials module, but let me know what you think.
|
Dear Przemyslaw
Is it possible to control the width of an arrow between two nodes?
I have written a little function that visualizes AD Site configuration and would like to have different arrow sizes based on site costs.
Later I also want to add also option to click on a site / site link to get additional information. But that is a different topic;-)
The code currently looks like this:
`Import-Module PSWriteHTML -Force
New-HTML -TitleText 'AD Sites' -Online -FilePath $PSScriptRoot\ADSites.html {
New-HTMLSection {
}
} -ShowHTML`
Thank you for your support.
Patrick
The text was updated successfully, but these errors were encountered: