Api : Graph by port id

hello,
I’d like to know if it’s possible to add the ability to generate a GRAPH from a PORT_ID via the API?
Regards,
Olivier

Just by ifName at present.