Skip to content

Build a "Type Graph" to visualise the relationships between nominal types in your functions #47

@sordina

Description

@sordina

Could possibly even live directly in the engine/console rather than in the connector.

For example:

function foo(): FooOutput {
}

function bar(x: FooOutput): BarOutput {
}

function baz(x: FooOutput, y: BarOutput): BazOutput {
}

function quux(x: BazOutput): string {
}

Could generate the following (interesting?) graph:

flowchart LR
  foo-->|FooOutput|bar
  foo-->|FooOutput|baz
  bar-->|BarOutput|baz
  baz-->|string| x([" "])  
Loading

Perhaps this could aid in suggest relationships type functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions