Whxuan0701 opened a new pull request, #891:
URL: https://github.com/apache/burr/pull/891

   Expose a compact graph representation that external tools can consume 
without installing Graphviz or Burr's tracking dependencies.
   
   ## Changes
   
   - add `Graph.to_dict()` with action, input, tag, and transition metadata
   - add `ApplicationGraph.to_dict()` with an explicit entrypoint and 
`application_graph` type
   - preserve action and transition declaration order while sorting set-like 
metadata
   - document that the compact export is distinct from the tracking 
`ApplicationModel` persistence format
   - cover deterministic ordering, required and optional inputs, conditions, 
and JSON round trips
   
   ## How I tested this
   
   - `pre-commit run --all-files`
   - `python -m pytest tests --ignore=tests/integrations/persisters 
--ignore=tests/integrations/test_bip0042_bedrock.py -q` (`645 passed, 1 
skipped`)
   - `python -m sphinx -T -W --keep-going -b dirhtml -d <doctrees> -D 
language=en . <html>` from `docs/`
   
   ## Notes
   
   This intentionally omits action source code. It is a dependency-free 
metadata export, not a replacement for the tracking subsystem's persisted graph 
schema.
   
   ## Checklist
   
   - [x] PR has an informative and human-readable title (this will be pulled 
into the release notes)
   - [x] Changes are limited to a single goal (no scope creep)
   - [x] Code passed the pre-commit check & code is left cleaner/nicer than 
when first encountered.
   - [x] Any _change_ in functionality is tested
   - [x] New functions are documented (with a description, list of inputs, and 
expected output)
   - [x] Placeholder code is flagged / future TODOs are captured in comments
   - [x] Project documentation has been updated if adding/changing 
functionality.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to