epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
291 stars 100 forks source link

Position multi-tail reaction on canvas #2052

Open yauhen-karmyzau opened 2 days ago

yauhen-karmyzau commented 2 days ago

As a User, I want to open a reaction tree from an RDF file and display it in Ketcher's canvas, So that I can have a visual representation of the reaction data contained in the RDF file.

Acceptance Criteria:

  1. When I upload an RDF file, the application should parse the file and build a reaction tree based on the data.
  2. The reaction tree should be displayed in Ketcher's canvas in a clear and understandable manner.
  3. The reaction tree should accurately represent the data in the RDF file, with each node corresponding to a reaction and each edge representing the relationship between reactions.
  4. The application should handle errors in the RDF file gracefully, displaying an appropriate error message if the file cannot be parsed or the reaction tree cannot be built.
  5. The multi-tail arrow connection of reactions in the tree is not required in this feature.
  6. The multi-tail as an object should be added to KET (object properties should be discussed).
  7. Single arrow will be presented instead and the middle.

Edge cases are out of scope, we build the only one the first tree element.

  1. If there are reactions or elements in the RDF file that are not included in the reaction tree, these should be placed below the reaction tree in the canvas.