Closed KingSkyLi closed 2 months ago
Here are several optimization points:
_bidirect
property for red bidirectional edges. Upgrade the forward and backward search algorithms based on this field._type: 'db', color: 'white'
, can the white color be rendered by default when _type=db
to avoid redundant configurations?{ from: 'Chaos', to: 'GRAM', color: 'red', arrows: { to: { enabled: true, scaleFactor: 1 }, from: { enabled: true, scaleFactor: 1 } } }
, if an edge is set with _bidirect=true
, then default rendering should be color: 'red', arrows: { to: { enabled: true, scaleFactor: 1 }, from: { enabled: true, scaleFactor: 1 } }
to simplify code complexity.