mitre / mitre/GraphEx

Implement a minimized yaml editor view for gx files

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

See issue #3 first as that is a prerequisite to this feature request.

In some very high-latency situations we would like to be able to edit graphs in the UI without having to use the default visual graph. This would be similar to editing raw python or yaml. Issue #3 is a good first step, but I think we could do even better by having some kind of 'smart' or 'minimized' view of the yaml we are editing.

For example, imagine a text editor that just let you type in the name of the nodes you wanted to run and the editor would grab the node class from the backend registry and auto-populate which fields that particular node has (on-demand). The editor would figure out where in the chain of nodes this new node would need to be placed automatically. In this way, the yaml could be 'minimized' to just show the relevant information a user cares about.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read issue #3 first, since it is identified as a prerequisite. Then examine the existing UI graph editor and the backend node registry to understand how gx YAML is represented and edited. Done means users can edit a minimized YAML view that resolves node classes, exposes fields on demand, and places new nodes in the chain automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.