Adding support for if special form
Also added the ability to htmlize edges