start translating graph functionality struct components