You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get a node click event inside the group option but i am unable to click it.
In the above code i am able to click the "B" field but unable to click the "A" field.
The text was updated successfully, but these errors were encountered:
`
<script> export default { name: 'FlowChart', data: function() { return { config: { theme: 'dark', startOnLoad: !1, securityLevel: 'loose', }, data: [{ id: "1", text: "A", link: "---", next: ["2"], editable: true, style: "fill:#f9f,stroke:#333,stroke-width:4px", group: "one" }, { id: "2", text: "B", edgeType: "circle", next: ["3"], editable: true }, { id: "3", text: "C", next: ["4", "6"] }, { id: "4", text: "D", link: "-- This is the text ---", next: ["5"] }, { id: "5", text: "E" }, { id: "6", text: "F" } ] }; }, methods: { editNode(nodeId) { alert(nodeId); } } } </script><vue-mermaid
:nodes="data"
type="graph LR"
:config="config"
@nodeClick="editNode"
`
I am trying to get a node click event inside the group option but i am unable to click it.
In the above code i am able to click the "B" field but unable to click the "A" field.
The text was updated successfully, but these errors were encountered: