Skip to content

feat: Set up model to extendended graph structure generation and dummy auto-layout #59

Description

@handreyrc

Summary

Set up and extended sdk graph generation capabilities by supporting node position, node size and edge waypoints.

Goals

  • Setup sdk graph generation.
  • Add positioning, node size and edge waypoints support to the graph.

Non-Goals

  • React flow nodes and edges generation.
  • Render diagram based on the graph.

Description

1- Add build graph to the existing sdk wrapper

  • Add bulildGraph method exposed by the sdk to workflowSdk wrapper

2- Create extended graph structure

  • Create extended graph type and extra types to represent nodes, edges and their relationships and also support positioning, size and edge waypoints .
  • Add API to consume buildGraph from the sdk wrapper and parse it to the extended graph type.

3- Create dummy auto-layout

  • Create auto-layout package under src/core and expose a dummy "applyAutoLayout" method.
  • The "applyAutoLayout" shall add {x = 0, y = y + 100} coordinates to the nodes in the graph object so later nodes won't be generated on top of the other.

Testing

  • Add at least one unit test for:

  * Graph generation
  * Dummy auto-layout

Activity

  1. self-assigned this
    on Apr 7, 2026
  2. changed the title [-]Set up model to extendended graph structure generation and dummy auto-layout[/-] [+]feat: Set up model to extendended graph structure generation and dummy auto-layout[/+] on Apr 7, 2026
  3. moved this from Backlog to Next in Editor Project Trackeron Apr 7, 2026
  4. removed their assignment
    on Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions