-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/colorize actions #4
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request updates documentation, application styling, and interaction modules. In the documentation, a Python export option and a short URL test model section have been added to the README, and the task lists in TODO have been expanded. In the application, CSS is updated to allow scrolling in the source area, while the code editor configuration in App.tsx is streamlined by removing syntax highlighting support. Additionally, the legacy editor HTML file is removed, and the main HTML file is overhauled with interactive SVG elements for Petri net visualization. New CSS and JavaScript files provide a framework for rendering and interacting with Petri nets. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant I as Index.html (SVG Canvas)
participant PN as pflow.js (Petri Net Module)
U->>I: Clicks on a transition element
I->>PN: Sends fire transition request
PN->>PN: Validates transition (canFire / isInhibited)
alt Transition Valid
PN->>PN: Updates tokens (updateTokens)
PN->>I: Renders updated SVG state
else Transition Invalid
PN->>I: Sends error/warning message
end
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Update ./static build to use different files for css, js, svg
Sync styles and behavior with ./public/model.svg - (single file)
Known issues - react build does not yet support new v1 features: colored tokens & Token / vector support in schema def
Summary by CodeRabbit
Documentation
New Features
Style