diff --git a/README.md b/README.md index 03e5b1befea38931a7909a47f346b260514e7e99..61947635622d8c29c5474f25af0c776d2db5da7b 100644 --- a/README.md +++ b/README.md @@ -540,10 +540,13 @@ TODO ``` * `showBioEntity({element, type, options})` - * Arguments: TODO - * Example: + * Arguments: + * element - object identifying the element, it should contain three fields: id, type, model; where id is the element id, type is type of the element ('ALIAS', 'REACTION'), and model define submap on which it's defined + * type - how do you want to visualize BioEntity: ' + * options - set of visualisation options: color, opacity, lineColor, lineWeight, lineOpacity + * Example: ``` -TODO +customMap.showBioEntity({element:{id:18306,type:"ALIAS", modelId:5}, type: "SURFACE", options:{color:"#FF0000"}}); ``` * `hideBioEntity({element, type})` diff --git a/frontend-js/.idea/frontend-js.iml b/frontend-js/.idea/frontend-js.iml index b6d6506e8893d7574cd478c3f94f16a0d3a0f679..3bba33a18114e4636092f26823e9b5f578d36fd0 100644 --- a/frontend-js/.idea/frontend-js.iml +++ b/frontend-js/.idea/frontend-js.iml @@ -3,11 +3,12 @@ <component name="NewModuleRootManager"> <content url="file://$MODULE_DIR$"> <excludeFolder url="file://$MODULE_DIR$/.tmp" /> - <excludeFolder url="file://$MODULE_DIR$/temp" /> <excludeFolder url="file://$MODULE_DIR$/dist" /> + <excludeFolder url="file://$MODULE_DIR$/temp" /> <excludeFolder url="file://$MODULE_DIR$/tmp" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="chai-DefinitelyTyped" level="application" /> </component> </module> \ No newline at end of file