openpatch / openpatch/struktolab

Change appearance of branch element

Open
#20 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
22
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I wondered why in diagrams created with struktolab the diagonal lines in the branch element do not meet at the bottom of the box but somewhere in the middle instead. I have not seen this except with struktolab. See example from Wikipedia below for comparison.

struktolab:

Nassi-Shneiderman-Diagram branch element as displayed by struktolab

Wikipedia:

Nassi-Shneiderman-Diagram branch element from Wikipedia

So my question is: Would it be possible to change the appearance of the branch element in struktolab or at least add an option for users who wish the appearance to be like the one from the Wikipedia example?

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

Start by reproducing the branch element in struktolab and compare its diagonal lines with the Wikipedia example shown in the issue. Trace the editor or renderer path responsible for the branch appearance. Done means the diagonals meet at the bottom like the reference, or users can choose that appearance as an option.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.