Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeClick Not Working while adding group option #20

Open
pradeepmangadu opened this issue Jun 29, 2020 · 0 comments
Open

NodeClick Not Working while adding group option #20

pradeepmangadu opened this issue Jun 29, 2020 · 0 comments

Comments

@pradeepmangadu
Copy link

pradeepmangadu commented Jun 29, 2020

`

<vue-mermaid
:nodes="data"
type="graph LR"
:config="config"
@nodeClick="editNode"

<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>

`

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant