IDAES / idaes-ui

User interfaces for IDAES
Other
1 stars 5 forks source link

Add ability to send back diagram image to server through FastAPI #45

Open dangunter opened 7 months ago

dangunter commented 7 months ago

Add ability to send back diagram image to server through FastAPI

an API call to Jupyter Notebook like,

fv = model.visualize(...)
fv.save_diagram(file=.. or display=True)
# if display=True, return value displays in Jupyter notebook
CopyDemon commented 1 month ago

now we don't have fastapi server but will work this with http server

CopyDemon commented 1 month ago

this ticket addressed by PR 51

Working in progress, bug shows up returned image size is odd, working on fix that.