-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create diagram JSON? #5
Comments
Hi Sander, I forgot that this code was not released. It's in another repository, which is private. I'll clean up this code and release it. Background: The pipeline for generating these diagrams is complicated, unfortunately. The diagram layout is computed by Graphviz and the conversion to Graphviz is performed by my software Catlab.jl. I have Docker containers for this stuff and the scripts you reference are actions for IBM Cloud Functions/Apache OpenWhisk. Currently the diagrams are not automatically rebuilt on DB updates. I do it myself by manually invoking the actions. Needless to say, this system is not ideal. Any improvements are welcome. Also, I am not committed to OpenWhisk, so if you have other ideas feel free to suggest them. |
@epatters thank you. Did you get a chance to upload the code? Note that for my current use case cleaned up code is not a concern, as long as it can be built and run. |
Sorry, @sander. I have been distracted by other things. Let me try to do this soon. |
@epatters Could you share instructions on how to (locally) generate
definition.diagram
anddefinition.graphviz
in e.g. https://api.datascienceontology.org/_cache/annotation/python/numpy/loadtxt ? I expect thatopen-discovery/expression_to_graphviz_json
in https://github.com/epatters/datascienceontology-backend/blob/master/openwhisk/composer/build_morphism_figure.js performs the processing, but I could not find its source code.The text was updated successfully, but these errors were encountered: