Skip to content
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

Open
sander opened this issue Dec 25, 2019 · 3 comments
Open

How to create diagram JSON? #5

sander opened this issue Dec 25, 2019 · 3 comments

Comments

@sander
Copy link
Contributor

sander commented Dec 25, 2019

@epatters Could you share instructions on how to (locally) generate definition.diagram and definition.graphviz in e.g. https://api.datascienceontology.org/_cache/annotation/python/numpy/loadtxt ? I expect that open-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.

@epatters
Copy link
Owner

epatters commented Jan 8, 2020

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 epatters self-assigned this Jan 8, 2020
@sander
Copy link
Contributor Author

sander commented Feb 15, 2020

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.

@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.

@epatters
Copy link
Owner

Sorry, @sander. I have been distracted by other things. Let me try to do this soon.

@epatters epatters removed their assignment Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants