WISPO-POP / PowerPlots.jl

Functions plot PowerModels networks
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Parallel Lines / edges are not supported #71

Closed noahrhodes closed 2 years ago

noahrhodes commented 3 years ago

The light graphs type does not support parallel edges. If an edge is added for a branch/dcline/switch etc. and there is already a connection between the two nodes, it will silently fail to add a line.

When accessing the coordinates for these components in plotting, they will not have an x/y coordinate.

In addition, if these edges are assigned a coordinate, they are not visible on top of each other. The plotting system needs a way to offset the parallel edges when plotting.

noahrhodes commented 3 years ago

Could potentially use vegalite arc objects to plot parallel branch connections. Arc are primarily used for pie charts, could be tricky to implement.

Also tricky to consider all of the possible parallel edge types...way want to just do an offset of the endpoints.

noahrhodes commented 2 years ago

closed by #72