refactor: access edge-label-renderer by storing the root element
This commit is contained in:
@@ -224,6 +224,3 @@ export const getD3Transition = (selection: D3Selection<Element, unknown, null, u
|
||||
return selection.transition().duration(duration);
|
||||
};
|
||||
|
||||
export function getEdgeLabelRendererId(id: string) {
|
||||
return `edgelabel-portal-${id}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user