Skip to main content

Lesson 2.1: Diagrams and SVG

Manual test: verify PlantUML, Mermaid, SVG assets, alt text, source disclosure and diagram descriptions.

1. PlantUML diagram​

1. PlantUML diagram

PlantUML source for "1. PlantUML diagram"
@startuml
class FizzBuzzer {
+fizzBuzz(n: int): String
}
class Main {
+main(args: String[]): void
}
Main ..> FizzBuzzer : uses
@enduml

Class diagram with 2 class(es) and 1 relation(s).

Classes:

  • Class FizzBuzzer with:
    • public method 'fizzBuzz', with parameter(s) 'n' of type int, return type String
    • no attributes
  • Class Main with:
    • public method 'main', with parameter(s) 'args' of type String[], return type void
    • no attributes

Relations:

  • Main has a dependency to FizzBuzzer

2. Mermaid diagram​

2. Mermaid diagram

Mermaid source for "2. Mermaid diagram"
flowchart LR
Source[Markdown] --> BSO[BSO build]
BSO --> IMSCC[IMSCC]
IMSCC --> Brightspace
Natural language description not yet available for activity diagrams.

3. SVG content​

Test SVG asset

Expected: both diagrams and the SVG image are visible after import; source code and accessibility information remain available.