Skip to content

dagre-d3 create-edge-labels not support IE11 #439

@lanqiutong

Description

@lanqiutong

在使用dagre-d3画流程图时,边标签值在ie11下无法显示,查看源码将/dagre-d3/lib/create-edge-labels.js文件内
第16.17.18行代码
svgEdgeLabels.enter().append("g")
.classed("edgeLabel", true)
.style("opacity", 0);
修改为
svgEdgeLabels.enter().append("g")
.attr("class","edgeLabel")
.style("opacity", 0);
即可

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions