update layout link
This commit is contained in:
parent
8e27d79863
commit
e3355bfac0
3 changed files with 5 additions and 5 deletions
|
|
@ -68,9 +68,9 @@ func (p dagrePlugin) Info(ctx context.Context) (*PluginInfo, error) {
|
||||||
Name: "dagre",
|
Name: "dagre",
|
||||||
ShortHelp: "The directed graph layout library Dagre",
|
ShortHelp: "The directed graph layout library Dagre",
|
||||||
LongHelp: fmt.Sprintf(`dagre is a directed graph layout library for JavaScript.
|
LongHelp: fmt.Sprintf(`dagre is a directed graph layout library for JavaScript.
|
||||||
See https://github.com/dagrejs/dagre
|
See https://d2lang.com/tour/dagre for more.
|
||||||
|
|
||||||
Flags correspond to ones found at https://github.com/dagrejs/dagre/wiki. See dagre's reference for more on each.
|
Flags correspond to ones found at https://github.com/dagrejs/dagre/wiki.
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
%s
|
%s
|
||||||
|
|
|
||||||
|
|
@ -89,9 +89,9 @@ func (p elkPlugin) Info(ctx context.Context) (*PluginInfo, error) {
|
||||||
ShortHelp: "Eclipse Layout Kernel (ELK) with the Layered algorithm.",
|
ShortHelp: "Eclipse Layout Kernel (ELK) with the Layered algorithm.",
|
||||||
LongHelp: fmt.Sprintf(`ELK is a layout engine offered by Eclipse.
|
LongHelp: fmt.Sprintf(`ELK is a layout engine offered by Eclipse.
|
||||||
Originally written in Java, it has been ported to Javascript and cross-compiled into D2.
|
Originally written in Java, it has been ported to Javascript and cross-compiled into D2.
|
||||||
See https://github.com/kieler/elkjs for more.
|
See https://d2lang.com/tour/elk for more.
|
||||||
|
|
||||||
Flags correspond to ones found at https://www.eclipse.org/elk/reference.html. See ELK's reference for more on each.
|
Flags correspond to ones found at https://www.eclipse.org/elk/reference.html.
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
%s
|
%s
|
||||||
|
|
|
||||||
2
help.go
2
help.go
|
|
@ -85,7 +85,7 @@ Example:
|
||||||
Subcommands:
|
Subcommands:
|
||||||
%s layout [layout name] - Display long help for a particular layout engine, including its configuration options
|
%s layout [layout name] - Display long help for a particular layout engine, including its configuration options
|
||||||
|
|
||||||
See more docs at https://oss.terrastruct.com/d2
|
See more docs at https://d2lang.com/tour/layouts
|
||||||
`, strings.Join(pluginLines, "\n"), ms.Name)
|
`, strings.Join(pluginLines, "\n"), ms.Name)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue