Closed loopingz closed 3 years ago
Added a --targetClass to select only the class hierarchy
For example, a full diagram like
classDiagram IVehicle <|.. Vehicle class Vehicle { +color: string +start(type: string): string } class IVehicle { +start(type: string): string } <<Interface>> IVehicle Vehicle <|-- Car class Car { +start(): string } class ITrunk { +openTrunk(): void } <<Interface>> ITrunk class IWindow { +openWindow(): void } <<Interface>> IWindow Car <|-- Sedan ITrunk <|.. Sedan IWindow <|.. Sedan class Sedan { +start(): string +openTrunk(): void +openWindow(): void } Vehicle <|-- Truck class Truck { +start(): string }
If launched with --targetClass Vehicle the result will be stripped to
--targetClass Vehicle
classDiagram IVehicle <|.. Vehicle class Vehicle:::targetClassDiagram { +color: string +start(type: string): string } class IVehicle { +start(type: string): string } <<Interface>> IVehicle Vehicle <|-- Car class Car { +start(): string } Car <|-- Sedan class Sedan { +start(): string +openTrunk(): void +openWindow(): void } Vehicle <|-- Truck class Truck { +start(): string }
No worries at all, thanks for the merge
Added a --targetClass to select only the class hierarchy
For example, a full diagram like
If launched with
--targetClass Vehicle
the result will be stripped to