mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-10 06:04:15 +00:00
fix: Reduce Node ID lengths. No need to use the full UUID
This commit is contained in:
parent
708175caf2
commit
6bae1fa2bf
2 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,8 @@
|
|||
- Use the correct tooltip for edges
|
||||
- style: Do not use bold style by default and apply color on nodes border
|
||||
- Merge when condition with `and`
|
||||
- fix: Explicitly set color luminance to avoid bright colors
|
||||
- Explicitly set color luminance to avoid bright colors
|
||||
- Reduce Node ID lengths. No need to use the full UUID
|
||||
- test:
|
||||
- Add Ansible 2.10.7 in the test matrix
|
||||
- Make test verbose by default with `-vv` in the args
|
||||
|
|
|
@ -27,7 +27,7 @@ def generate_id(prefix: str = "") -> str:
|
|||
Generate an uuid to be used as id
|
||||
:param prefix Prefix to add to the generated ID
|
||||
"""
|
||||
return prefix + str(uuid.uuid4())
|
||||
return prefix + str(uuid.uuid4())[:8]
|
||||
|
||||
|
||||
def clean_name(name: str):
|
||||
|
|
Loading…
Reference in a new issue