jamesscottbrown / pyyed

A simple Python library to export networks to yEd
BSD 3-Clause "New" or "Revised" License
81 stars 37 forks source link

Edge Label Properties (Background/Border) #31

Closed HagenRA closed 3 years ago

HagenRA commented 4 years ago

Hi there! Loving what this library can do.

Is it possible to add new arguments to the edge properties ... (Or point me in the direction so that I can figure out how to... Sorry newbie here)

def __init__(self, node1, node2, label="", arrowhead="standard", arrowfoot="none", color="#000000", line_type="line", width="1.0", edge_id=""):

... so we can further manipulate the properties of the edge labels? (Specifically label background fill colour, label border colour)

Many thanks,

Hagen