Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.15] [Automatic Import] add yarn draw-graphs command (#191813) #192433

Merged
merged 1 commit into from
Sep 10, 2024

Commits on Sep 10, 2024

  1. [Automatic Import] add yarn draw-graphs command (elastic#191813)

    ## Summary
    
    This adds the `yarn draw-graphs` plugin specific command, which is
    defined in our plugins `package.json`. The command can be run from the
    root of our plugin, and does not require any additional dependencies.
    
    The graphs are added to `docs/imgs` and linked in the README.md of the
    plugin.
    
    The purpose of this PR is not to write a better README or provide any
    automation of the task itself, that would be separate tasks, but simply
    allow the creation of graphs to the readme, which can be useful to debug
    changes to nodes and conditional edges.
    
    Examples:
    
    ![ecs_graph](https://github.com/user-attachments/assets/ccc403a2-e2b0-4482-9de7-74c016c75c16)
    
    ![ecs_subgraph](https://github.com/user-attachments/assets/ad8da90e-191e-4533-b5b2-ede4bd973993)
    
    ![log_detection_graph](https://github.com/user-attachments/assets/777c6845-ba52-4a16-a2b1-b13e172a7488)
    
    ![related_graph](https://github.com/user-attachments/assets/a5447a5b-2fa7-4b96-920f-3cd9a2c8dbe5)
    
    ![categorization_graph](https://github.com/user-attachments/assets/c61463d6-c1d8-4347-bb84-d39e5606417b)
    
    ---------
    
    Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
    (cherry picked from commit 1606db8)
    P1llus committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    985a362 View commit details
    Browse the repository at this point in the history