Skip to content

Commit 2d9f41a

Browse files
committed
feat: add padding option
Update README usage and template values.
1 parent a07079e commit 2d9f41a

File tree

5 files changed

+113
-102
lines changed

5 files changed

+113
-102
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Options:
7979
-E, --excludes <EXCLUDES>
8080
Exclude dependency names matching the regex patterns
8181
-R, --root <ROOT>
82-
Change root to the unique depndency name matching the regex pattern
82+
Change root to the unique dependency name matching the regex pattern
8383
--std
8484
Add std standalone node
8585
-s, --scheme <SCHEME>
@@ -106,6 +106,8 @@ Options:
106106
Inverse color gradient
107107
--dark-mode
108108
Dark mode for output svg file
109+
--padding <PADDING>
110+
Padding for output svg file default: 1.0
109111
--scale-factor <SCALE_FACTOR>
110112
Scale factor for output svg file
111113
--separation-factor <SEPARATION_FACTOR>
@@ -150,12 +152,14 @@ Options:
150152
{size}, {size_binary}, {size_decimal}
151153
{value}, {value_binary}, {value_decimal}
152154
{scheme}
155+
{features}
153156
```
154157

155158
### Edge
156159

157160
```plain
158161
{source}, {target}
162+
{features}
159163
```
160164

161165
## License

examples/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ gradient = "plasma"
33
separation-factor = 0.8
44
highlight = "dep"
55
dark-mode = true
6+
padding = 0.5
67
output = "examples/pugio.svg"

0 commit comments

Comments
 (0)