mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 07:06:43 +02:00
Initial implementation for cardinality position.
This commit is contained in:
@@ -155,6 +155,13 @@ export const addRelations = function(relations, g) {
|
||||
}
|
||||
|
||||
logger.info(edgeData, edge);
|
||||
|
||||
//Set edge extra labels
|
||||
edgeData.startLabelLeft = 'TL';
|
||||
edgeData.startLabelRight = 'TR';
|
||||
edgeData.endLabelLeft = 'BL';
|
||||
edgeData.endLabelRight = 'BR';
|
||||
|
||||
//Set relation arrow types
|
||||
edgeData.arrowTypeStart = getArrowMarker(edge.relation.type1);
|
||||
edgeData.arrowTypeEnd = getArrowMarker(edge.relation.type2);
|
||||
|
Reference in New Issue
Block a user