MerrimanInd / MerrimanInd/drawpyo

Convinience function to add ParsedDiagram to Page

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

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
Python
Stars
412
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Currently the user has to add edges and objects to a page themselves after importing a diagram from drawio-file.

It would be helpful to be able to do this process by calling parsed_diagram_instance.add_to(page, offset, ...).

This would help to simplify user scripts and avoid redundant code on their end.

Contributor guide

Open the contributing guide

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

Start by tracing the ParsedDiagram and Page entry points and how imported objects and edges are currently added to a page. Define the add_to(page, offset, ...) behavior from those existing APIs, including how the offset applies, then verify that a parsed diagram can be added without callers repeating the process.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.