look at the picture:
Code:
import {ReactCytoscape} from "react-cytoscape";
render(){
...
return(
...
{/* */}
<div className="insight-Right-chart">
<ReactCytoscape containerID="cy"
elements={this.getElements()}
cyRef={(cy) => { this.cyRef(cy) }}
cytoscapeOptions={{ wheelSensitivity: 0.1 }}
layout={{ name: "cola",directed: true,padding: 10 }} />
</div>
)
}
question:
- 1. I am a beginner in cytoscape. Which configuration item should I modify if I want to draw a line with an arrow?
- what are the attributes such as 2.cyRef, cytoscapeOptions and layout used for? I can"t find jquery on the official website.
New question:
- 1. Which attribute controls the display of text on the connection?