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
Sprotty uses JSX/TSX for the graph views. Building components as described in React documentation (https://react.dev/learn/passing-props-to-a-component) is not possible due to normalization of attributes (normalizeAttrs). Also some SVG attributes cannot be passed as expected (e.g. attrs-font-size instead of font-size)
Current:
`@injectable()
export class NodeView extends ShapeView {
Sprotty uses JSX/TSX for the graph views. Building components as described in React documentation (https://react.dev/learn/passing-props-to-a-component) is not possible due to normalization of attributes (normalizeAttrs). Also some SVG attributes cannot be passed as expected (e.g. attrs-font-size instead of font-size)
Current:
`@injectable()
export class NodeView extends ShapeView {
}`
Expected:
`@injectable()
export class NodeView extends ShapeView {
}`
The text was updated successfully, but these errors were encountered: