forked from mermaid-js/mermaid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement the greedy annotation approach
- Loading branch information
1 parent
434d154
commit 6c7b0f2
Showing
10 changed files
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { AbstractMermaidTokenBuilder } from '../common/index.js'; | ||
import type { InfoServices } from './module.js'; | ||
|
||
export class InfoTokenBuilder extends AbstractMermaidTokenBuilder { | ||
public constructor() { | ||
super(['info', 'showInfo']); | ||
public constructor(services: InfoServices) { | ||
super(['info', 'showInfo'], services); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { AbstractMermaidTokenBuilder } from '../common/index.js'; | ||
import type { PacketServices } from './module.js'; | ||
|
||
export class PacketTokenBuilder extends AbstractMermaidTokenBuilder { | ||
public constructor() { | ||
super(['packet-beta']); | ||
public constructor(services: PacketServices) { | ||
super(['packet-beta'], services); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { AbstractMermaidTokenBuilder } from '../common/index.js'; | ||
import type { PieServices } from './module.js'; | ||
|
||
export class PieTokenBuilder extends AbstractMermaidTokenBuilder { | ||
public constructor() { | ||
super(['pie', 'showData']); | ||
public constructor(services: PieServices) { | ||
super(['pie', 'showData'], services); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters