}
}
#ifdef WITH_CGRAPH
- if (E_arrowhead && ((attr = agxget(e, E_arrowhead)))[0])
+ if (E_arrowhead && (*eflag == ARR_TYPE_NORM) && ((attr = agxget(e, E_arrowhead)))[0])
arrow_match_name(attr, eflag);
- if (E_arrowtail && ((attr = agxget(e, E_arrowtail)))[0])
+ if (E_arrowtail && (*sflag == ARR_TYPE_NORM) && ((attr = agxget(e, E_arrowtail)))[0])
arrow_match_name(attr, sflag);
#else
- if (E_arrowhead && ((attr = agxget(e, E_arrowhead->index)))[0])
+ if (E_arrowhead && (*eflag == ARR_TYPE_NORM) && ((attr = agxget(e, E_arrowhead->index)))[0])
arrow_match_name(attr, eflag);
- if (E_arrowtail && ((attr = agxget(e, E_arrowtail->index)))[0])
+ if (E_arrowtail && (*sflag == ARR_TYPE_NORM) && ((attr = agxget(e, E_arrowtail->index)))[0])
arrow_match_name(attr, sflag);
#endif
if (ED_conc_opp_flag(e)) {