This is how GitUML reverse engineers the adapter pattern. You can add further refinements using the "Refine UML..." feature.
namespace AdapterPattern {
export classAdaptee{
public method(): void {
console.log("`method` of Adaptee is being called");}}
export interface Target {
call(): void;}
export classAdapter implements Target {
public call(): void {
console.log("Adapter's `call` method is being called");
var adaptee: Adaptee = new Adaptee();
adaptee.method();}}}
Modules being visualised
List of repository modules/files being visualised in the above diagram: