Skip to content

Questions about the ID mechanism #306

Open
@QiuYilin

Description

@QiuYilin

In the example, Node, Link, and Pin share the same id incrementing mechanism. Can different types of elements have the same id? Will this cause problems?

If I want to display a general graph model through imgui-node-editor, does it mean that I have to create an additional ID mechanism for the graph to adapt to imgui-node-editor? Is there any recommended solution for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions