hikerpig / pintora

An extensible text-to-diagrams library that works in both browser and node.js
https://pintorajs.vercel.app
MIT License
1.11k stars 24 forks source link

Strange Connections to Outside #265

Closed RolfBremer closed 6 months ago

RolfBremer commented 7 months ago

The following activity diagram has some strange lines to the outside:

image

activityDiagram
    title: Test Activity
    start
        partition allmystuff {
            if(source newer that target?) then
                :Convert Source to Target;
            else (no)
            endif

            partition #0000ff repeat {
                if(source newer that target?) then
                    :Convert Source to Target;
                else (no)
                endif
            }
        }
    end
hikerpig commented 6 months ago

I see, it looks really weird when

  1. there is a condition branch without statements
  2. the condition is inside a partition

I'll find some time to fix it

hikerpig commented 6 months ago

This is fixed is v0.7.3