Generalized chord diagrams and weight systems | Synapse