Skip to content

RestFul API support #703

@wernerdaehn

Description

@wernerdaehn

I'd like to use drawdb to visualize the ERD from a Restful API.

Meaning, I would create a backend that exposes the data in the drawdb native Json format. The user clicks on a link, this opens drawdb, imports the json via the provided query string, and does an autolayout.

So I would use drawdb less as an editor and more like a visualization tool.

My database has approx 10'000 tables and showing all of those does not make sense. So I would rather have a directory of 100 star schemas in a html page and the user can select one with a few attributes, e.g.

  • get fact table billings
  • get fact table billings and all direct relationships to the dimension tables
  • get fact table billings and all direct and indirect relationships, e.g. billings is connect to orders via customer dimension table
  • get all tables in a schema

From what I understand

  1. You cannot pass a json file/rest api via an URL when starting the editor
  2. Import Json requires to upload a file - need to point to an URL instead
  3. Autolayout is not triggered automatically - might be good to add that as a property to the json file

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions