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

[Graphs] - Saved Graphs #9

Open
debifrank opened this issue Sep 26, 2022 · 0 comments
Open

[Graphs] - Saved Graphs #9

debifrank opened this issue Sep 26, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@debifrank
Copy link
Contributor

For the purpose of integrating with reporting tools (WriteHat) there will need to be an ability to save the graph you've built for a scenario.

  • When you click "save" the graph variants will be saved to a DB collection
{
    "bson_id": "String", // Identifier for the graph record (primary key)
    "scenario_id": "String", // Id of the scenario the graph is associated with (foreign key)
    "scenario_title": "String", // Name of the scenario the graph is associated with
    "assessment_id": "String", // Id of the assessment the graph is associated with (foreign key)
    "assessment_title": "String", // Name of the assessment the graph is associated with
    "b64-white": "String", // b64 encoding of the white background graph version
    "b64-black": "String", // b64 encoding of the black background graph version
    "positions": "String", // Potential column containing the individual node positions in the D3 graph
    "created_by": "String", // Authenticated user that created the record
    "created_on": "Date", // Time record was created
    "last_updated_by": "String", // Authenticated user that most recently modified the record
    "last_updated_on": "Date", // Time record was most recently modified
}
  • To retrieve your graph, an API will need to be created that will facilitate the retrieval (requires authorization key)

    • /api/Graphs/getGraphs
    • /api/Graphs/getGraphsByAssessment?id=String
    • /api/Graphs/getGraphById?id=String
    • /api/Graphs/getGraphByScenario?id=String
  • The default behavior is to download the graph when you click save, this will be removed in place of the above saving functionality

  • To download directly from ETM, a new button and select box will be needed to download the saved graphs

@debifrank debifrank self-assigned this Sep 28, 2022
@debifrank debifrank added the enhancement New feature or request label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant