Feature Request
I would like to be able to set the fillStyle option for closed elements (like rectangles, diamonds, ellipses, etc.) directly in the DSL syntax, not just in code or DOT format. Currently, the DSL supports only node type, label and standard directives, but doesn't allow for fine-grained node-level style customization.
Example of desired syntax
(Start) -> [Enter Credentials @fillStyle:hachure] -> {Valid?}
{Valid?} -> "yes" -> [Dashboard] -> (End)
{Valid?} -> "no" -> [Show Error @fillStyle:hachure] -> [Enter Credentials]
Or, even better, a syntax like:
@node [Enter Credentials]
fillStyle: hachure
backgroundColor: #a5d8ff
Motivation:
- More visually expressive diagrams
- Parity with DOT/style capabilities
- Avoids switching to JSON or DOT for style features
Expected:
- DSL nodes support
fillStyle: hachure (or other style attributes)
- Prefer inline or directive syntax, as shown above
Can this be implemented in a future release?
Feature Request
I would like to be able to set the
fillStyleoption for closed elements (like rectangles, diamonds, ellipses, etc.) directly in the DSL syntax, not just in code or DOT format. Currently, the DSL supports only node type, label and standard directives, but doesn't allow for fine-grained node-level style customization.Example of desired syntax
Or, even better, a syntax like:
Motivation:
Expected:
fillStyle: hachure(or other style attributes)Can this be implemented in a future release?