-
Notifications
You must be signed in to change notification settings - Fork 2
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
Inactive tech/commodity in Output Tab - Graphviz #18
Comments
We can handle it easily. We have to use python file exist function. If not found we have use default svg file. |
It'll take me some time to provide you with that image saying - 'The selected process was not active during this time period'. Hopefully we can keep this svg file in a common fixed location. |
I can create one and update the code or you want to take the ownership? |
Can you update the code? I don't want to risk breaking anything unless it is a temoa code. I can provide you with svg image unless you can do easily. I need to read through it a little bit. |
I can do it. or you can use any online image creation tool :) |
Okay if you can do it then it's really helpful. :) |
Regarding handling of inactive tech/comm, I need Yash's help. Yash, I defined the right path to commodities and technologies subgraph svg files in the variable name 'imagepath' inside views.py.
However if for these subgraphs, the svg file cannot be found, is it possible to display an error message saying - 'The selected process was not active during this time period'? Not finding the correct corresponding svg file means that the tech/comm is simply not used/not active.
The text was updated successfully, but these errors were encountered: