API Reference
Command
New-ImageTopologyScenario
Creates an ordered topology scenario.
Remarks
Scenarios drive HTML route controls, highlighted static views, and script-free SVG, GIF, and APNG route motion.
Examples
Create a request-flow scenario
PS>
New-ImageTopologyScenario -Id request -Label 'Request flow' -StepDefinition { New-ImageTopologyScenarioStep -Id client-api -Kind Edge; New-ImageTopologyScenarioStep -Id api-db -Kind Edge } -AutoPlay
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-ImageTopologyScenario [-AutoPlay] [-Color <String>] [-Description <String>] -Id <String> -Label <String> [-Loop] [-Spotlight] [-Step <TopologyScenarioStep[]>] [-StepDefinition <ScriptBlock>] [-StepDurationMilliseconds <Int32>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- AutoPlay SwitchParameter
- Allow interactive HTML output to begin playback automatically.
- Color String
- Optional CSS color used to accent the scenario.
- Description String
- Optional scenario description.
- Id String
- Stable scenario identifier.
- Label String
- Scenario label shown by HTML controls.
- Loop SwitchParameter
- Loop scenario playback.
- Spotlight SwitchParameter
- Dim topology elements that do not participate in the scenario.
- Step TopologyScenarioStep[]
- Scenario steps supplied directly.
- StepDefinition ScriptBlock
- Script block that emits steps from New-ImageTopologyScenarioStep.
- StepDurationMilliseconds Int32
- Default duration of each step in milliseconds.
Outputs
ChartForgeX.Topology.TopologyScenario