You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mermaid.js should add support for defining relationships in namespaces in order to clarify the link between multiple classes. At the moment relationships are only allowed for classes outside of namespaces.
Example
namespace NS{
class A {
- field
}
class B {
- field
}
A .. B
}
Actual:
Parse error on line 227:
... - } A .. B}
---------------------^
Expecting 'STRUCT_STOP', 'CLASS', got 'ALPHA'
Screenshots
No response
The text was updated successfully, but these errors were encountered:
This is a defect. If I'm defining a class I should be able to include its entire definition and its use of other objects inside that definition for code clarity and accessibility for things like screen readers where the context needs to be hyper local.
Proposal
Mermaid.js should add support for defining relationships in namespaces in order to clarify the link between multiple classes. At the moment relationships are only allowed for classes outside of namespaces.
Example
Actual:
Screenshots
No response
The text was updated successfully, but these errors were encountered: