feat(export-viz): replace gen script with native export pipeline#18
Merged
feat(export-viz): replace gen script with native export pipeline#18
Conversation
… and viz-output (6)
Enriches JSON export with version, exits, subflow/subflowVersion fields.
Restructures directory export as {defaultFlow, flows} object.
Adds --output/-o flag for file output with .js wrapping for JSON format.
Replaces generate-flowviz-data.py with generate_data.py (thin wrapper).
@a1c3e5f7 @b2d4f6a8 @c3e5f7a9 @d4f6a8b0 @e5f7a9b1 @f6a8b0c2
@a7b9c1d3 @b8c0d2e4 @c9d1e3f5 @d0e2f4a6 @e1f3a5b7 @f2a4b6c8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
version,exits,subflow/subflowVersionfields needed by FlowViz[{...}]array to{"defaultFlow": ..., "flows": [...]}object--output/-oflag for writing export to file (auto-creates parent dirs).jssuffix wrapping (window.FLOWVIZ_DATA = ...;) for file:// compatibilitygenerate-flowviz-data.py(252 lines) withgenerate_data.py(thin wrapper, 35 lines)@id Traceability
export-viz-pipeline: a1c3e5f7, b2d4f6a8, c3e5f7a9, d4f6a8b0, e5f7a9b1, f6a8b0c2
export-viz-output: a7b9c1d3, b8c0d2e4, c9d1e3f5, d0e2f4a6, e1f3a5b7, f2a4b6c8
355 tests, 100% coverage. All three review tiers passed (design, structure, conventions).