  In this note I will explain how relative/log Gromov-Witten invariants of
pairs $(X,D)$ with very ample smooth anticanonical divisor $D$ can be computed
using algebro-combinatorial objects called scattering diagrams. The underlying
principle behind this computational method is a tropical correspondence theorem
for non-toric cases, which I will explain briefly. By computing some examples I
will give an introduction to a sage code that I wrote for computing scattering
diagrams.
