update: renaming stuff from react to "revue"
This commit is contained in:
@@ -14,7 +14,7 @@ const Marker = defineComponent({
|
||||
setup(props, { slots }) {
|
||||
return () => (
|
||||
<marker
|
||||
class="react-flow__arrowhead"
|
||||
class="revue-flow__arrowhead"
|
||||
id={props.id}
|
||||
markerWidth="12.5"
|
||||
markerHeight="12.5"
|
||||
@@ -44,7 +44,7 @@ const MarkerDefinitions = defineComponent({
|
||||
setup(props) {
|
||||
return () => (
|
||||
<defs>
|
||||
<Marker id="react-flow__arrowclosed">
|
||||
<Marker id="revue-flow__arrowclosed">
|
||||
<polyline
|
||||
stroke={props.color}
|
||||
stroke-linecap="round"
|
||||
@@ -54,7 +54,7 @@ const MarkerDefinitions = defineComponent({
|
||||
points="-5,-4 0,0 -5,4 -5,-4"
|
||||
/>
|
||||
</Marker>
|
||||
<Marker id="react-flow__arrow">
|
||||
<Marker id="revue-flow__arrow">
|
||||
<polyline
|
||||
stroke={props.color}
|
||||
stroke-linecap="round"
|
||||
|
||||
@@ -318,7 +318,7 @@ const EdgeRenderer = defineComponent({
|
||||
const renderConnectionLine = computed(() => pinia.connectionNodeId && pinia.connectionHandleType);
|
||||
|
||||
return () => (
|
||||
<svg width={pinia.width} height={pinia.height} class="react-flow__edges">
|
||||
<svg width={pinia.width} height={pinia.height} class="revue-flow__edges">
|
||||
<g transform={transformStyle.value}>
|
||||
{pinia.edges.map((edge: Edge) => (
|
||||
<EdgeCmp
|
||||
|
||||
Reference in New Issue
Block a user