Closed antoniogarrote closed 7 years ago
As a result of porting the node app for the browser, a problem has appeared related to the interface provided by joint.js
The interface to create a Rect shape in the node app looks like this:
https://github.com/mulesoft-labs/api-modelling-framework/blob/master/api-modeller/src/view_models/diagram.ts#L340
To be able to compile for the web version of the library, I have to change the invocation:
https://github.com/mulesoft-labs/api-modelling-framework/blob/master/api-modeller-web/src/view_models/diagram.ts#L340
As a result we have lost colors for the node in the diagram, we need to bring that functionality back in the web version.
As a result of porting the node app for the browser, a problem has appeared related to the interface provided by joint.js
The interface to create a Rect shape in the node app looks like this:
https://github.com/mulesoft-labs/api-modelling-framework/blob/master/api-modeller/src/view_models/diagram.ts#L340
To be able to compile for the web version of the library, I have to change the invocation:
https://github.com/mulesoft-labs/api-modelling-framework/blob/master/api-modeller-web/src/view_models/diagram.ts#L340
As a result we have lost colors for the node in the diagram, we need to bring that functionality back in the web version.