Skip to content

Commit 01eeca1

Browse files
committed
chore: wip
1 parent a4a2ef0 commit 01eeca1

File tree

1 file changed

+4
-4
lines changed
  • storage/framework/defaults/views/dashboard/models

1 file changed

+4
-4
lines changed

storage/framework/defaults/views/dashboard/models/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ const createDiagram = () => {
498498
'post': { x: width * 0.8, y: 150 },
499499
500500
// Second row - better distributed
501-
'accessToken': { x: width * 0.2, y: 450 },
501+
'accessToken': { x: width * 0.2, y: 500 }, // Moved down to avoid overlapping
502502
'subscriber': { x: width * 0.8, y: 450 },
503503
504504
// Third row - more evenly spaced
@@ -708,9 +708,9 @@ const createDiagram = () => {
708708
.attr('stroke-width', 1)
709709
.attr('stroke-opacity', 0.3)
710710
711-
// Relationships container
711+
// Relationships container - added margin above relationships section
712712
const relationshipsGroup = g.append('g')
713-
.attr('transform', `translate(0, ${relationshipsY})`)
713+
.attr('transform', `translate(0, ${relationshipsY + 10})`) // Added 10px margin
714714
715715
// Add each relationship on its own row
716716
d.relationships.forEach((rel, i) => {
@@ -805,7 +805,7 @@ const createDiagram = () => {
805805
806806
// Add a legend for relationship types with improved visibility
807807
const legend = svg.append('g')
808-
.attr('transform', `translate(${width - 220}, 20)`)
808+
.attr('transform', `translate(${width - 220}, 40)`) // Moved down to center vertically
809809
.attr('class', 'legend')
810810
811811
// Add legend background for better visibility

0 commit comments

Comments
 (0)