Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

how to change and set color for edge in python class GraphViewer ? #58

@zengfr

Description

@zengfr

how to change and set color for edge in python class GraphViewer ?

SetNodeInfo(self, node_index, node_info, flags) ?

p = ida_graph.node_info_t()
p.frame_color = self.random_hex_color()
p.bg_color = p.frame_color^0xffffff
self.SetNodeInfo(nid, p, ida_graph.NIF_FRAME_COLOR)

but edge is not node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions